-
Notifications
You must be signed in to change notification settings - Fork 47
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
Don't require longitude and Latitude for projected coordinates #179
Comments
@dblodgett-usgs can you moderate, and @marqh would you be willing to summarise? |
#133 is approaching a suitable text proposal, with detail review from a number of contributors. Please may I ask whether there are any objections or concerns inn principal with this proposal? Or, is this now a matter of agreeing the detail text? |
I agree with the direction this is going. I would like to see the need for 2d lat/lon described in terms of the functionality it provides. e.g. Having unprojected lat/lon is required for software that doesn't know projections but practically very burdensome (if not breaking) for data where 2d lat/lon is too large for whatever reason. |
I agree with the proposal. I think it is just a matter of revising the text. |
I agree and voted with a thumbs up on original post above since the text says "propose a motion". |
Just doing a bit of due diligence. One of the reasons stated for this proposal is "Given the prevalence of software to support such transforms". Looking at Appendix G, I see that all of the projections are defined by PROJ, so I would say that there certainly exists widely available software for those. Can someone confirm/deny that PROJ deals with rotated pole coordinate systems? What would happen if, in the future, CF defines a grid mapping which is not supported by PROJ? Should the existence of some third party software be a prerequisite for a new grid mapping to be accepted? Or would it be up to software library maintainers and general users to code up their own conversion algorithms in this case? [As an aside, I wonder how many CF-aware software libraries currently use PROJ (or something else) to create lats and lons from grid mappings? cf-python currently does not, relying instead on the 2-d auxiliary coordinates, but will be upgraded to do so if this issue is accepted.] |
@davidhassell It appears that you can specify the rotated pole coordinate system in proj4 as an example of a general oblique transformation. The proj4 string would look something like this example.
|
I'd like to suggest replacing the current first three paragraphs of section 5.6 in PR #133. These are:
The main differences are replacing "spatial" with "horizontal" (grid mappings do not apply to the vertical spatial dimension); and clarifying the agreed position that when the coordinates are not lat/lon either a grid mappaing, or lat/lon coordinates, or both are required. Here's my new text:
|
Thanks, @JimBiardCics for the PROJ details - that's good. With regards my other question (about future mappings not supported by PROJ), I'm fine with this not being an issue at all, but thought it worth mentioning because of the rationale behind the raising of this issue. Does any else have views on this? |
In summary, the constraint on always providing explicit latitude and longitude coordinates is proposed to be relaxed, as long as a relevant grid mapping variable is provided. The text changes are detailed in https://github.com/cf-convention/cf-conventions/pull/133/files |
In the current Conventions (V1.7), the section
on CRSs states that:
This strong requirement results in large amounts of locational metadata for many data sets.
A lot of data sets are defined with respect to projected CRSs or other spatial coordiantes which are not longitude and latitude.
The CRS definition is supplied and many packages provide the capability to calculate longitude and latitude coordinates from projected coordinates.
In some cases, the 2D longitude and latitude auxiliary coordinate variables are the largest part of the payload, and add limited value to the data producers.
Given the prevalence of software to support such transforms and the cost in data volume, this mandate appears to be too strong, and could be relaxed, as long as a grid_mapping is supplied.
I propose a motion to relax this constraint and enable data producers to provide well geo-referenced spatial coordinates without the inclusion of explicit longitude and latitude values.
The text was updated successfully, but these errors were encountered: