-
Notifications
You must be signed in to change notification settings - Fork 3
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
New Attributes for Data Variables? #6
Comments
Prima facie this makes sense to me but of course these would somehow need to be linked to the container variable so that it's clear how to bring the subsampled coordinates into full resolution. |
It is simpler to just keep using the |
I agree that reusing the Adding a |
Just to complete with information discussed a few minutes ago: As explained by @davidhassell during the meeting, reusing So in order to keep this compatibility and still be able to define subsampled variables as coordinates, maybe a solution would be to have both:
For example (simplistic, there would obviously be better ways to describe this kind of data):
Software that do not support new CF versions would:
Software that implement new CF conventions would:
This method adds an overhead (one additional attribute for each data variable linked to a set of coordinates) that could disappear once/if backward compatibility is discarded in later versions of the CF convention. |
I have add an example that is in line with the above summary. |
Hi, I think that there will be resistance to referencing the interpolation container from the subsampled coordinates, rather than from the data variable. I think that this is preferable:
The reasons for this are that
|
Numbering my comments so it is easier to reply:
My understanding is that with your approach it would either mean that:
|
Good point! This is easily dealt with in the same way that different coordinate variables can have different grid_mappings (http://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#grid-mappings-and-projections):
|
Often the lat/lon or scan/track interpolation has to be done first and time and viewing angles depends on this first interpolation. So, for efficiency, it would be good to have also a way to bundle these in a single interpolation container. I would support adding references to the index mapping variables in the data variable to improve re-usability of the interpolation container. Here is a VIIRS example with two different data variable resolutions, M-Band at 750m and I-Band at 375m. I left out all the viewing angles and interpolation coefficients for clarity:
|
I think that either The |
I would agree that
I think I prefer that all names start with
and the attributes of the indices variable:
This make them appear as part of the same concept, which they are. What do you think? |
The purpose of this issue is to determine what new attributes for data variables are needed. These variables in CF hold scientific data discretized within a domain and are represented by the Field construct in the CF data model.
There seems to be enough agreement for a new attribute, similar to the
grid_mapping
attribute. One proposed name for it istie_point_interpolation
. Its value is the name of a container variable which describes the interpolation method for computing coordinate data at the same domain resolution as the field construct to which this attribute is assigned.Are any additional new attributes needed?
Whenever a field construct depends on multidimensional (rank > 1) coordinates, or a dimension (rank = 1) coordinate is named differently than its dimension, such variables must be listed in a
coordinates
attribute. This means that every subsampled coordinate will have to be included in this attribute. Or a new one with the same role as thecoordinates
attribute.The following short example illustrates using just the
coordinates
attribute assigned to theswath_data
variable (a field construct):If using a new attribute, the above would become:
The new attribute, here named
subsampled_coordinates
, is to be used only for subsampled coordinates that otherwise qualify for inclusion in thecoordinates
attribute. One reason for the new attribute is because neither of thetime
,lat
, orlon
coordinates depend on any of theswath_data
's dimensions. So far in CF, variables listed in thecoordinates
attribute always shared at least one common dimension.The text was updated successfully, but these errors were encountered: