Input coverages/slices should share the same bounding box (lon/lat coordinates are the same for the whole ND cube).

NetCDF output will be produced only when input coverages come from a StructuredGridCoverage2D reader (this allows to query the GranuleSource to get the list of granules in order to setup dimensions slices for each sub-coverage).

Some attributes such as coordinates and missing_value are skipped as these may no longer be valid.

For an ImageMosaic, one granule is chosen as the source.

Variable Attributes

Values are encoded as integers or doubles if possible, otherwise strings.

Values set here overwrite attributes set elsewhere, such as those copied from a source NetCDF/GRIB variable.

Global Attributes

Values are encoded as integers or doubles if possible, otherwise strings.

Scalar Variables Copied from NetCDF/GRIB Source

Source specifies the name of the source variable in a NetCDF file or the toolsUI view of a GRIB file; only scalar source variables are supported.

Output specifies the name of the variable in the output NetCDF file.

If only one of Source or Output is given, the other is taken as the same.

Dimension is either blank to simply copy the source scalar from one granule, or the name of one output NetCDF dimension to cause values to be copied from multiple granules (such as those from an ImageMosaic over a non-spatial dimension) into a one-dimensional variable. The example above copies a single value from multiple reftime scalars into forecast_reference_time dimensioned by time in an ImageMosaic over time.

For an ImageMosaic, one granule is chosen as the source for variable attributes.