-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I see this in sgrid: get_masks
node_mask = self.nc.variables[mc] #do not [:] mask variables. They contain important metadata
This is a problem -- once in the SGRid class, attributes may nor may not be netcdf variables -- we REALLY don't want the main class to be tied to netCDF like that (they should all be "array like'. So if there's metadata we need (what is it?) then that should be stored somewhere in the SGRrid class, and not expected to be in the array itself.
@jay-hennen: we need to be careful about this -- how/where is this tested?
There should be SGRid (and everything else) test that don't involve creating it from a netCDF file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels