Closed mgrover1 closed 2 years ago
KDP
will be catched, but here WIDTH
and DBZhv
isn't covered. Could you make the file available someplace? I think we only need to add these (two) names to
@kmuehlbauer - can we make this generic where we do not automatically filter fields?
Would not consider that as bug, but a naming issue.
Several options:
If we decide on 3, we'd need a function which checks for standard naming convention.
Another idea would be to let the user provide a mapping ala {"myKDP": "KDP"}
when reading the file.
Let's discuss this at today's meeting :)
Unfortunately that's already too late in the evening :zzz:
Okay - I am leaning toward the third approach... I think it is important that the object in memory is as similar to the file on disk as possible...
I'm good with that, but at least we would have to make sure that we only write standard conforming files. In those cases we would need to alert the user about standard conformance.
@kmuehlbauer agreed! We could return a warning that certain won't write, and suggest they conform to the standard.
solved by #45
Description
I am trying to read in a file with non-standard names for variables (ex. KDP). If these fields are in the underlying netCDF file, we should pass them into the object. For now, it is silently subsetting the variables in the configuration/data model module.
What I Did
Despite there being more fields in the file, which upon using the regular
netCDF4
backend, results in