-
Notifications
You must be signed in to change notification settings - Fork 283
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
Support external_variables for cell_measures #3329
Comments
@zklaus Do you have an Or indeed, where both the |
Yes. I'll focus on CMIP here. There, only one data variable per file is permitted and the from
and for the
You might notice that there is an additional variable Hope this helps. |
@zklaus Awesome, thanks. Just what I needed! Yup, the For For Hmmm that just seems wrong to me, but then again, I don't know that much about CMIP data. Anyways, thanks @zklaus - your example is golden 😄 |
I agree with you that probably the Also, as a clarification of how I think this should be usable with iris, in my view iris can not be expected to find files. Instead, the file containing the cell measure should be passed in the list of files given to |
Am I wrong to do this @bjlittle ? |
@zklaus Is this still a relevant issue? |
@stephenworsley, sorry for the long delay. In principle, I would say yes, though I have not tested Iris' behaviour recently. |
I'm confident behaviour will not have changed in this respect ! ? might it also come into the upcoming workshop 18-20 Oct ? |
Thanks. I think it would still be the right thing to do, but it has lower priority for us now because we handle the addition of this kind of data separately. |
In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity. If this issue is still important to you, then please comment on this issue and the stale label will be removed. Otherwise this issue will be automatically closed in 28 days time. |
This stale issue has been automatically closed due to a lack of community activity. If you still care about this issue, then please either:
|
NetCDF loading requires to support the global
external_variables
attribute CF 2.6.3 External Variables so thatcell_measures
which reference a NetCDF variable that is not in the same file as the associated cube NetCDF data variable, may be loaded, see 7.2 Cell Measures.To be honest, in my opinion the use of
external_variables
is a pretty weak contract as a means to identify a target file that may contain the required cell measure variable - some sort of pragmatic implementation is required here. Perhaps the user also specifying the file tocube.load
et al, is also enough foriris
to join the dots to locate the cell measure variable.The text was updated successfully, but these errors were encountered: