-
Notifications
You must be signed in to change notification settings - Fork 13
Description
The netCDF-specific read, i.e. NetCDFRead.read method, has an argument default_version which isn't documented but according to a comment over logic using the corresponding variable, it supports a "default version provided by the user" for the Conventions:
cfdm/cfdm/read_write/netcdf/netcdfread.py
Lines 774 to 778 in e948eef
| def read( | |
| self, | |
| filename, | |
| extra=None, | |
| default_version=None, |
however in our user-exposed read function, there is no way to access it:
Lines 11 to 21 in e948eef
| def read( | |
| filename, | |
| external=None, | |
| extra=None, | |
| verbose=None, | |
| warnings=False, | |
| warn_valid=False, | |
| mask=True, | |
| domain=False, | |
| _implementation=_implementation, | |
| ): |
so there is no way to apply that in the intended way, as a user. It is not documented at all across the documentation either.
It seems like this is dead code which needs to be removed, but I've opened this as a question in case we instead want to revive it by exposing it through the read function. @davidhassell, what do you think is best?
If we want to remove the several lines of logic that concern it, I can do so as part of #296 which touches the same area of code.