MPAS-Dev / MPAS-Limited-Area

Python tool to create a regional subset of a global MPAS Mesh
http://mpas-dev.github.io/
21 stars 10 forks source link

Error when subsetting a mesh file in another directory #41

Open MiCurry opened 4 years ago

MiCurry commented 4 years ago

When trying to subset a mesh file in another directory, the resulting regional filename is incorrectly generated:

gwdo_region_auga_test/land> create_region conus.custom.pts /glade/scratch/mcurry/gwdo_region_auga_test/x1.40962.static.nc

Creating a regional mesh of  /glade/scratch/mcurry/gwdo_region_auga_test/x1.40962.static.nc
Marking boundary  1 ...
Filling region ...
Creating boundary layer: 1  ... 2  ... 3  ... 4  ... 5  ... 6  ... 7  ... 8  ... DONE!
Marking region edges ...
Marking region vertices...
Subsetting meshes...

Subsetting: /glade/scratch/mcurry/gwdo_region_auga_test/x1.40962.static.nc
ERROR: There was a problem creating the file  conus./glade/scratch/mcurry/gwdo_region_auga_test/x1.40962.static.nc
MiCurry commented 3 years ago

This appears to be only on the subset_n_grid branch.