Skip to content
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

netcdf: Bad dimension id while running make_remap_weights_file.py #51

Open
met-sree opened this issue Jan 11, 2024 · 2 comments
Open

netcdf: Bad dimension id while running make_remap_weights_file.py #51

met-sree opened this issue Jan 11, 2024 · 2 comments

Comments

@met-sree
Copy link

Dear all,
I have created the ROMS grid file using the GridBuilder. In preparation for the initial and boundary conditions, I downloaded all variables (u, v, ssh, temp, and salt) from http://tds.hycom.org/ using the get_hycom_GLBa0.08_*_2015.py script. Then I merged all the downloaded data using the "merge_HYCOM_GLBa0.08_daily.ksh" script.

However, I encountered an error while remapping the data (make_remap_weights_file.py). The error is as follows:
Assuming spherical is integer b'T' <class 'numpy.ma.core.MaskedArray'>
Load geographical grid from file
grid shape 30 30
grid shape 30 29
grid shape 29 30
netcdf: Bad dimension id 1742276144

Please provide any suggestions and corrections to resolve this issue.

Thankyou,
Srinivas

@kshedstrom
Copy link
Collaborator

I suggest that you learn to use the python debugger to get to the bottom of this.

My understanding is that GridBuilder is Windows only, so I have never used it. It's possible that the grid file is somehow different from what pyroms is expecting. Which dimension is giving that id?

Those who developed pyroms have moved on to other careers, other codes.

@aiwuyouxi
Copy link

Hello,bro! How did you solve it? I met the same problem 😥
111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants