You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
If a netCDF file is well-formed, it is possible to create mosaic dataset directly from netCDF on S3. This is particularly useful if netCDF is already in an aggregated form in one single large file.
Step-by-step guide for ArcGIS Pro (> 2.5)
- Create AWS S3 connection and save it as <your_name>.acs file.
- Make sure that you can browse files in your bucket.
- Since .nc4 files will not be listed, it's better to put some (fake) .mrf/.he5/.tif/.crf file on the bucket.
- If connection file doesn't list any object, something must be wrong. Delete the .acs file and re-create one.
- Create a new mosaic dataset.
- Select NETCDF as input type.
- Select file icon. Since you can't browse the netCDF-4 file under the .acs file, type the filename in the editor box.
- It's good to copy & paste netCDF file name and connection file name using editor.
- Type something like c:/tmp/mop03tm.acs/MOP03TM.nc4
- Publish the mosaic dataset using "Share as Web Layer."
Critical Bug in Handling Time
MDCS doesn't pick up time values properly from this Terra Fusion netCDF-4 file. Time variable has 0 and 5 values (i.e., 5 minutes after first dataset) but mosaic dataset simply says 1 minute after the first record. The data type of time variable is 64-bit integer.
The blow is when stdtime is used as dimension name and variable.
![](/download/attachments/172925964/20200821_arcgis_pro_2.6_tf_merged_std.png?version=1&modificationDate=1598043962995&api=v2)
The below is when time is used as dimension name and variable.
![](/download/attachments/172925964/20200821_arcgis_pro_2.6_tf_merged_time.png?version=1&modificationDate=1598044039136&api=v2)
It doesn't matter whether you build mosaic locally using ArcGIS Pro instead of MDCS.
![](/download/attachments/172925964/20200821_arcgis_pro_2.6_tf_merged_time_local.png?version=1&modificationDate=1598046035653&api=v2)
If time's type is int32, ArcGIS can handle the value properly.
![](/download/attachments/172925964/arcgis_pro_tf_merged_i32.png?version=1&modificationDate=1598061957657&api=v2)
Related articles
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: