Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDS-5.5 resets standard name for rotated-pole coordinate variables #322

Open
rkouznetsov opened this issue Nov 23, 2022 · 0 comments
Open

Comments

@rkouznetsov
Copy link

Manifest-Version: 1.0
Implementation-Title: THREDDS Data Server (TDS)
Implementation-Version: 5.5-SNAPSHOT
Implementation-Vendor-Id: edu.ucar
Implementation-Vendor: UCAR/Unidata
Implementation-URL: https://www.unidata.ucar.edu/software/tds/
Created-By: Gradle 6.9.1
Build-Jdk: 11.0.12
Built-By: ubuntu
Built-On: 2022-10-21T06:29:23+0000

The original file has rotated-pole projection:

        float rlon(rlon) ;
                rlon:axis = "X" ;
                rlon:units = "degrees" ;
                rlon:long_name = "longitude in rotated pole grid" ;
                rlon:standard_name = "grid_longitude" ;
                rlon:_CoordinateAxisType = "GeoX" ;
        float rlat(rlat) ;
                rlat:axis = "Y" ;
                rlat:units = "degrees" ;
                rlat:long_name = "latitude in rotated pole grid" ;
                rlat:standard_name = "grid_latitude" ;
                rlat:_CoordinateAxisType = "GeoY" ;

When the file is served via thredds (ncss or DAP) the coordinates become:

        float rlat(rlat) ;
                rlat:units = "degrees" ;
                rlat:long_name = "latitude in rotated pole grid" ;
                rlat:axis = "Y" ;
                rlat:standard_name = "projection_y_coordinate" ;
        float rlon(rlon) ;
                rlon:units = "degrees" ;
                rlon:long_name = "longitude in rotated pole grid" ;
                rlon:axis = "X" ;
                rlon:standard_name = "projection_x_coordinate" ;

The latter is not compliant with CF-1.7 convention https://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch05s06.html nether with CF convention draft https://cfconventions.org/cf-conventions/cf-conventions.html.
I am not sure which of the two (CF or TDS) has to be bend, but there is a clear mismatch. I would prefer to leave projection coordinates for easting and northing, and use grid_longitude and grid_latitude for rotated-pole mappings, in accordance with CF.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant