Skip to content
Loading…
This layer is editable and shared with the public. To prevent unwanted editing, unshare this item or approve it for public data collection.
Finish setting up your layer
Describe your item below. Add fields on the Data tab. Configure editing on the Settings tab. Configure drawing and pop-ups through Map Viewer or Visualization tab.

Remapping script for NetCDF files This script will remap a variable or variables of a NetCDF file to a `INT8` or `UINT8` datatype. This script allows discrete data to be used for voxel layers in ArcGIS. If a discrete variable has a datatype larger than a byte, the data will automatically be wrapped. To control the mapping of values (aka codes) to a value within the range of a byte datatype, this script was created. A brief summary of the item is not available. Add a brief summary about the item.

‎Code sample by

Item created: Apr 14, 2022 Item updated: Nov 28, 2023 Number of downloads: 76

Snapshot last refreshed:

1627 characters left.

Description

NC-remap

Remapping script for NetCDF files

 

This script will remap a variable or variables of a NetCDF file to a `INT8` or `UINT8` datatype. This script allows discrete data to be used for voxel layers in ArcGIS. If a discrete variable has a datatype larger than a byte, the data will automatically be wrapped. To control the mapping of values (aka codes) to a value within the range of a byte datatype, and special values (such as fill value) must also be mapped in the same manner.


See the README in the archive for more info.

 

Parameters

 

Input NC File - The input NetCDF file to remap. This tool does *not* overwrite this input file. It is open in read only mode.

 

Input Map JSON File - A JSON file that will map the variables and their codes to another value. All codes must be set, unless lenient option is used. See below for the structure.

 

Output NC File - The location to store the output. Should be in form of `myFile.nc`

 

*The lenient Flag allows the user to have more leniency in their JSON map. This is for users who are okay with automatic wrapping of values in their source data or automatic wrapping of their codes if the codes exist outside the range of the `uint8`/`int8` datatypes. It is recommended to clearly define all codes in the JSON map.

An in-depth description of the item is not available.

Layers

Ground Layers

Tools

Tables

Basemap

Project Contents:

Solution Contents

Contents

Layers

Screenshots

Terms of Use

No special restrictions or limitations on using the item's content have been provided.

Comments (0)

Sign in to add a comment.
Item Information

LowHigh

Item Information

LowHigh

Make your item easy to find, understand, and use by providing this information.

    Details

    Dashboard views: Desktop

    Creating data in:

    Published as:

      Other Views:

        Dependent items in the recycle bin

          Applicable: 2d

          Size: 7.609 KB

          Attachments size: 0 KB

          ID: 282a2480623d4419928bb1aec550b3ad

          Image Count: 0

          Image Properties

          Layer Drawing

          Using tiles from a cache

          Dynamically from data

          Share
          Owner

          3DCitiesSMorrish

          Folder

          Categories

          This item has not been categorized.

          Assign Category
          Tags

          NetCDF, Remapping Script, NC

          Edit Tags
          Credits (Attribution)
          No acknowledgements.

          URL View
          WMTS View
          Loading…