Model blowup 2009

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Model blowup 2009

#1 Unread post by adilsonborges »

I was performing a long integration (1985 to 2015), when in December 2009 the model stopped, the .out shows me the following error:

NETCDF_GET_DIM - too small dimension parameter, Mdims = 50*****
change file mod_netcdf.F and recompile
Found Error: ** Line: 330 Source: ROMS/Modules/mod_netcdf.F, netcdf_get_dim

NETCDF_GET_DIM - unable to inquire about contents of input NetCDF file: /scratch/leonardo.lima/Data/Forcing/Atmosphere/CFSR/CFSR-2010-blk-TSA-roms-Uwind_2.nc
call from: ROMS/Utility/inquiry.F
Found Error: 02 Line: 462 Source: ROMS/Modules/mod_netcdf.F, netcdf_check_dim
Found Error: 02 Line: 176 Source: ROMS/Utility/inquiry.F
Found Error: 02 Line: 119 Source: ROMS/Utility/get_2dfld.F
Found Error: 02 Line: 134 Source: ROMS/Nonlinear/get_data.F
Found Error: 02 Line: 205 Source: ROMS/Nonlinear/main3d.F
Found Error: 02 Line: 274 Source: ROMS/Drivers/nl_ocean.h

Is it a problem with my atmospheric forcing?
Can anyone help?
Thank you very much!

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Model blowup 2009

#2 Unread post by kate »

NETCDF_GET_DIM - too small dimension parameter, Mdims = 50*****
change file mod_netcdf.F and recompile
I believe the problem is described here. Can you do as they suggest?

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#3 Unread post by adilsonborges »

Thank you for reply, Kate

But the model run until 2009 before changing the folder where the atmospheric forcing from 2010 to 2015. Do you think I should recompile?

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Model blowup 2009

#4 Unread post by kate »

I don't know what you changed to make it run out of dimensions. I've not yet run out of dimensions or I would have changed it myself. You have at least two choices - recompile it and run with it if it works or dig into what's really going on. If the first doesn't work, then you're down to the second choice anyway.

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#5 Unread post by adilsonborges »

Where can I have changed the dimensions? All right, Kate. I will do this. Thank you very much for your attention.

Best regards,

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Model blowup 2009

#6 Unread post by kate »

change file mod_netcdf.F and recompile
From the top of the ROMS source directory, I do "vi */*/mod_netcdf.F", then search for the string Mdims.

My "vi" is aliased to "vim". I assume there's some text editor you know how to use.

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#7 Unread post by adilsonborges »

Ok Kate, Thank you,
Do you totally rule out some mistake in the forcing? In the folders set in the .in file?

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Model blowup 2009

#8 Unread post by kate »

adilsonborges wrote:Ok Kate, Thank you,
Do you totally rule out some mistake in the forcing? In the folders set in the .in file?
Not at all. As I said, I've never run out of dimensions and I use a lot of forcing files. Tools for trouble-shooting these things include (a) modifying the code as suggested and seeing what happens - shouldn't take long, after all and (b) running in a debugger and watching it run out of dimensions, seeing if something looks odd and fixing it. Option (b) requires a debugger and some idea of how to use it. I can't tell from here what's going on, honestly.

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#9 Unread post by adilsonborges »

Ok, Kate,

Thank you very much!

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#10 Unread post by adilsonborges »

Hi Kate and all,

I recompiled ROMS by changing the Mdims to 100 and to 1000, I did tests starting on 01 of 2010 and this runs normally. The model is no more than month 12 of 2009 for month 01 of 2010. I found that forcants do not influence. I do not know what this error is about, maybe a problem when compiling, I do not know. My grid contemplates the Equatorial Atlantic (10N 10S and 60W 20W), with all edges of the grid open. In my .h file is set:

#undef EASTERN_WALL
#undef NORTHERN_WALL
#define WESTERN_WALL
#undef SOUTHERN_WALL

#define RADIATION_2D

Is there any influence of these settings on this error?

Best regrads

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Model blowup 2009

#11 Unread post by kate »

I have no idea what's going on, but this:
#undef EASTERN_WALL
#undef NORTHERN_WALL
#define WESTERN_WALL
#undef SOUTHERN_WALL
implies that your ROMS version is really very dated. You might want to download something more modern to see if that makes a difference.

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#12 Unread post by adilsonborges »

Kate, thank you very much

I will continue trying to solve, who knows how to download again the roms code does not work?

Thanks for the help always!
Best regards

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Model blowup 2009

#13 Unread post by kate »

What sort of problems are you having with downloading the code?

adilsonborges
Posts: 30
Joined: Fri Mar 10, 2017 11:22 pm
Location: Universidade Federal do Maranhão, Brazil

Re: Model blowup 2009

#14 Unread post by adilsonborges »

Sorry, Kate, no problem.

I compiled using an older code (April 2017) and it worked.

Thanks a lot for the help!

Post Reply