-
Notifications
You must be signed in to change notification settings - Fork 35
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
Regridding bathymetry from high resolution to output grid #349
Comments
you probably need to use the ESMF parallel remapping tool, see this for how to do it on HPC: https://xesmf.readthedocs.io/en/stable/large_problems_on_HPC.html if that does not work, take a look at https://github.com/ESMG/gridtools |
Thanks @raphaeldussin. I'm working now on installing ESMF (I cant find the command line tools from the esmpy install). For future reference, is there a convenient way to interrogate at system level in a python environment what kind of upper limits there are on computation. |
On one hand, I think the error is unrelated to xESMF, but rather to dask. May be this issue can help. Activating HOWEVER, as noted in the docstring and in the notebook, I would try without it. EDIT: I'll add a note that if you have an environment with xESMF, Then |
@jvmcgovern the ESMF command line tools should already be in the conda env where you installed xesmf, it comes as part of the ESMF conda package |
I used ESMF on my HPC server (with 396 cores) and I got an apparent out of memory error. There's limited information on what went wrong however: Sun Mar 24 00:48:52 GMT 2024 ===================================================================================
|
I'm trying to use xesmf (latest version on conda-forge) to conservatively remap bathymetry for a ROMS/CROCO model. I created lat_b and lon_b fields for the input (regular) and output (rotated) grids. Because of the size of the input data (~16000x12000) and output data (~1300x1050), I thought parallel=true would work. I'm getting the following error:
runtimeerror: an attempt has been made to start a new process before the current process has finished its bootstrapping phase. this probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module:
I've tried this with and without chunking of the input data. I'm using chunking of the output field of approx 550x700 but to no avail. Any pointers would be appreciated. Do I have to go straight to ESMF?
The text was updated successfully, but these errors were encountered: