Closed yuemaaa closed 5 years ago
I notice that 15-3 km mesh having 'global attributes' and using it take place of 60-3 km. But it still shows a error message while copying 'variable xtime'
Copying variable xtime... Traceback (most recent call last): File "../create_region", line 65, in
regional_area.gen_region(kwargs) File "/path/to/MPAS-Limited-Area/limited_area/limited_area.py", line 161, in gen_region kwargs) File "/path/to/MPAS7.0/MPAS-Limited-Area/limited_area/mesh.py", line 298, in subset_fields region.mesh.variables[var][:] = arrTemp[var] File "/path/to/anaconda3/lib/python3.7/site-packages/numpy/ma/core.py", line 3174, in getitem dout = self.data[indx] IndexError: only integers, slices ( :
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indices
@yuemaaa Thanks for spotting these issues. PR #16 should address the issue with the 60-3 km mesh. We'll have a closer look at the issue with the 15-3 km mesh and create a PR as soon as we have a fix.
@yuemaaa I think PR #17 should address the issue with the 15-3 km mesh.
The two PRs that should address the issues here have been merged, so I'll close this PR.
Hi, I try to use 60-3 km mesh produce a 3 km mesh and while copying 'global attributes' it shows
Also it cannot produce a 'graph.info' file. How can I build a region_area mesh by an existing mesh without 'global attributes'?