Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creating new cache used full ds instead of reduced ds (#340)
* Creating new cache used full ds instead of reduced ds Required to ensure that the cached function does not use data_vars that not explicitly required * Format cache to please codacy * Better support for vertex grids * remove option to store delr/delc as attrs * remove option to store delr/delc as attrs * update polygons_from_model_ds to to use new delr/delc datavars * add delr and delc to datavars in ds_to_structured_grid * remove delr/delc attr check in structured_da_to_ds * get_recharge uses coords3d to determine first active layer * add delr/delc to datavars for surface water functions * formatting * formatting * remove coords that number from 0 to N (these are not listed in coords) * remove delr and delc from datavars is vertexgrid * do not check time attrs start and time_units * do not check time coord attributes * formatting * skip delr/delc when writing files * rename bathymetry tests * comment still in dutch: bathymetry * comment still in dutch: bathymetry * use last delr to set extent * use brackets (was failing for me without) * Cache: Implemented inline suggestions made by David --------- Co-authored-by: Davíd Brakenhoff <d.brakenhoff@artesia-water.nl>
- Loading branch information