Commit 49e8dea4 authored by Pierre Cazenave's avatar Pierre Cazenave
Browse files

Make sure dimensions are right if we've been fiddling with points.

parent e032a55a
......@@ -2424,6 +2424,11 @@ class Model(Domain):
setattr(, var, data)
# Update dimensions if we've fiddled with things
if filter_points:
self.dims.node = len(self.grid.lon)
self.dims.nele = len(self.grid.lonc)
def write_nested_forcing(self, ncfile, type=3, adjust_tides=None, ersem_metadata=None, **kwargs):
Write out the given nested forcing into the specified netCDF file.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment