Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

handle all coordinate transforms #1197

Merged
merged 1 commit into from
Dec 7, 2018
Merged

Conversation

lesserwhirls
Copy link
Collaborator

Make sure all coordinate transforms get added to ncss response, even if
they are not needed to compute latitude / longitude. This would include,
for example, the LatLon_Projection, which is listed as the grid_mapping
for some global GRIB datasets, but don't actually "do" a transform (no
x/y -> lat/lon by netCDF-Java), as lat/lon are explicitly constructed
from the GRIB message GSD). This ensures that we are following CF if a
grid_mapping is listed (i.e. must include the transform variable).

See Unidata/python-workshop#372 for details.

Make sure all coordinate transforms get added to ncss response, even if
they are not needed to compute latitude / longitude. This would include,
for example, the LatLon_Projection, which is listed as the grid_mapping
for some global GRIB datasets, but don't actually "do" a transform (no
x/y -> lat/lon by netCDF-Java), as lat/lon are explicitly constructed
from the GRIB message GSD). This ensures that we are following CF if a
grid_mapping is listed (i.e. must include the transform variable).

See Unidata/python-workshop#372 for details.
@lesserwhirls
Copy link
Collaborator Author

Not needed in 5.0, as CFGridCoverageWriter2 does not suffer from this bug.

@lesserwhirls lesserwhirls merged commit d9e0ba7 into Unidata:master Dec 7, 2018
@lesserwhirls lesserwhirls deleted the ct branch December 11, 2018 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant