-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section interpolation and masking. #7
Comments
Hi, it looks like the mask and data definitions are incompatible for some reason. By default masks are inferred from the missing data in the files. Could you attach/paste your config file so I can see if there are any obvious issues? Also, could you paste the output of "ncdump -h" applied to each of the input data files. In the meantime you can try specifying missing data masks manually using the following options (see description of config file in README): [temperature/salinity/tau/meridional_velocity] |
Hi - thanks so much for the quick response! Attached are those 5 files: I'll try the manual masking in the meantime like you suggest! Thank you very much for your time! |
Hi - it looks like the time dimension is different in the salinity data file (time=370) compared to other files (time=900). This will definitely cause problems as data must be the same shape. Depending on the grid staggering, you may also want to specify j2 = j1 + 1 for t/s/tau files so that these data are averaged onto the velocity grid (though it probably won't make much difference). See README for more details: "Note that it is possible to specify a range of indices in the y-direction. If j1 != j2, then data is extracted over a range of j-indices and then averaged to create a single zonal section. This allows temperature and salinity to be averaged onto the velocity section in a way that respects the staggering of the original model grid." There are also example netcdf and config files in the test_data folder if you want to compare with your data to make sure you have the data dimensions/config set consistently. Chris |
Running run_rapidmoc.py on output from various models on their native grids, for some models the program fails and returns:
`
`
Has anyone had experience with this error? It works on some models and not others, but it's not clear why.
Thank you for your help in advance!
The text was updated successfully, but these errors were encountered: