Question on using groups to organize content in a CF file #420
Replies: 2 comments
|
For the coordinate variables the construct is valid but discouraged. Whether or not an application can find it is more difficult to say. What the application needs to find the coordinate variable is to support "lateral search" (see the sub-section on "Search by proximity" in section 2.7.1 of the conventions). Not all applications may support that feature, particularly not because its use is discouraged and should not be used for new data sets. Instead, use absolute or relative paths. Showing both options in one line (pick one): For On point two: Any application that supports group traversal by absolute path would be able to find it. A final note, the proposal you refer to is in limbo as there is some support for the principles behind it but not enough so to move it forward. |
|
Thank you for the quick reply @pvanlaake, I think I will restructure my files in the future to make sure everything my data variables need is defined in one of their parent groups. Your proposed solution is neat, but nudges the user to first consider what resolution it needs before accessing the variables. Another solution would be to remove my |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Question
Hello.
My question is related to an on-going discussion / proposal, initiated by @pvanlaake.
I am in the situation where I need to define a file template for future satellite-based products containing many (gridded) variables. The variables are all on the same projection (grid_mapping) but with varying grid postings (3km, 9km, 18km etc...). I have been exploring groups to organize information.
Below is a minimal example of where I am at today:
As you can see, my axis coordinate (
x_3km, etc...) variables and mycrsvariables are in a sibling group to the variables using them (/Data/SeaIceConcentration/sea_ice_concentration).I have several questions:
x_3kmfrom thesea_ice_concentrationvariable with such a file? If not, is there a solution wherex_3kmetc... stays in the Data/Geolocation group?crsvariable, issea_ice_concentration:grid_mapping = "/Data/Geolocation/crs"enough for the application to find it.All reactions