Replies: 1 comment
-
@pp-mo you've previously mentioned an object that is associated with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have been asked a few times why we can't reproduce netcdf input exactly.
This is intended as a quick summary of the issues, and maybe a starting-point for how we could / if we should improve on this.
So, in general, although the Iris data-model is explicitly based on netcdf-CF, we aren't able to exactly reproduce netcdf files as we originally read them.
Firstly, there are a few things that can be explicitly controlled on saving but are not actually represented in the data-model (e.g. : data compression options; data fill-values; unlimited dimensions).
Also, more significantly, there are aspects of data encoding that we simply ignore + don't store, and which may not even be easily accessed in a load callback (e.g. : dimension names, bounds-variable names) .
The point is that Iris when loading considers some data encoding details as 'incidental' and discards them.
Here is my list of some things which we don't handle in netcdf loading/saving :
netcdf.save
units
,_FillValue
,axis
,positive
?(**) "details" : such as var_name; dtype; additional non-CF attributes. See discussion "Ability to specify grid_mapping name"
Extra notes on the above :
(though we do tolerate and even record some of those things)
Beta Was this translation helpful? Give feedback.
All reactions