Closed mathause closed 5 years ago
You are right -- the current design is very suboptimal and I am going to overhaul this (#11).
As a temporary fix you can explicitly specify the filename (either during creation or reusing) byRegridder(..., filename='custom_name.nc')
Thanks!
When reusing weight it seems to only check whether the on-disk weights have the same size as the new ones. This can lead to wrong results. Example:
If I now regrid with
reuse_weights=True
the result forgrid2
is wrong:Notice how results 1 and 2 are the same while 3 and 4 are different. I think it is important that this is checked.