Input files

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Input files

#1 Unread post by angelolemos »

Hi all,

I wonder if there is a limit of input files in the roms.in.
I have created my input files in the same way and included in the roms.in, as follow:

BRYNAME == ./input/roms_bry_HYCOM_Y2008M10.nc |
./input/roms_bry_HYCOM_Y2008M11.nc |
./input/roms_bry_HYCOM_Y2008M12.nc |
./input/roms_bry_HYCOM_Y2009M1.nc |
./input/roms_bry_HYCOM_Y2009M2.nc |
./input/roms_bry_HYCOM_Y2009M3.nc |
./input/roms_bry_HYCOM_Y2009M4.nc |
./input/roms_bry_HYCOM_Y2009M5.nc |
./input/roms_bry_HYCOM_Y2009M6.nc |
./input/roms_bry_HYCOM_Y2009M7.nc |
./input/roms_bry_HYCOM_Y2009M8.nc |
./input/roms_bry_HYCOM_Y2009M9.nc |
./input/roms_bry_HYCOM_Y2009M10.nc |
./input/roms_bry_HYCOM_Y2009M11.nc |
./input/roms_bry_HYCOM_Y2009M12.nc |
./input/roms_bry_HYCOM_Y2010M1.nc |
./input/roms_bry_HYCOM_Y2010M2.nc |
./input/roms_bry_HYCOM_Y2010M3.nc |
./input/roms_bry_HYCOM_Y2010M4.nc |
./input/roms_bry_HYCOM_Y2010M5.nc |
./input/roms_bry_HYCOM_Y2010M6.nc
CLMNAME == ./input/roms_clm_HYCOM_Y2008M10.nc |
./input/roms_clm_HYCOM_Y2008M11.nc |
./input/roms_clm_HYCOM_Y2008M12.nc |
./input/roms_clm_HYCOM_Y2009M1.nc |
./input/roms_clm_HYCOM_Y2009M2.nc |
./input/roms_clm_HYCOM_Y2009M3.nc |
./input/roms_clm_HYCOM_Y2009M4.nc |
./input/roms_clm_HYCOM_Y2009M5.nc |
./input/roms_clm_HYCOM_Y2009M6.nc |
./input/roms_clm_HYCOM_Y2009M7.nc |
./input/roms_clm_HYCOM_Y2009M8.nc |
./input/roms_clm_HYCOM_Y2009M9.nc |
./input/roms_clm_HYCOM_Y2009M10.nc |
./input/roms_clm_HYCOM_Y2009M11.nc |
./input/roms_clm_HYCOM_Y2009M12.nc |
./input/roms_clm_HYCOM_Y2010M1.nc |
./input/roms_clm_HYCOM_Y2010M2.nc |
./input/roms_clm_HYCOM_Y2010M3.nc |
./input/roms_clm_HYCOM_Y2010M4.nc |
./input/roms_clm_HYCOM_Y2010M5.nc |
./input/roms_clm_HYCOM_Y2010M6.nc


NFFILES == 10 ! number of unique forcing files

FRCNAME == ./input/tide_CFSR_Y2008M10.nc |
./input/tide_CFSR_Y2008M11.nc |
./input/tide_CFSR_Y2008M12.nc |
./input/tide_CFSR_Y2009M1.nc |
./input/tide_CFSR_Y2009M2.nc |
./input/tide_CFSR_Y2009M3.nc |
./input/tide_CFSR_Y2009M4.nc |
./input/tide_CFSR_Y2009M5.nc |
./input/tide_CFSR_Y2009M6.nc |
./input/tide_CFSR_Y2009M7.nc |
./input/tide_CFSR_Y2009M8.nc |
./input/tide_CFSR_Y2009M9.nc |
./input/tide_CFSR_Y2009M10.nc |
./input/tide_CFSR_Y2009M11.nc |
./input/tide_CFSR_Y2009M12.nc |
./input/tide_CFSR_Y2010M1.nc |
./input/tide_CFSR_Y2010M2.nc |
./input/tide_CFSR_Y2010M3.nc |
./input/tide_CFSR_Y2010M4.nc |
./input/tide_CFSR_Y2010M5.nc |
./input/tide_CFSR_Y2010M6.nc \
./input/rhum_CFSR_Y2008M10.nc |
./input/rhum_CFSR_Y2008M11.nc |
./input/rhum_CFSR_Y2008M12.nc |
./input/rhum_CFSR_Y2009M1.nc |
./input/rhum_CFSR_Y2009M2.nc |
./input/rhum_CFSR_Y2009M3.nc |
./input/rhum_CFSR_Y2009M4.nc |
./input/rhum_CFSR_Y2009M5.nc |
./input/rhum_CFSR_Y2009M6.nc |
./input/rhum_CFSR_Y2009M7.nc |
./input/rhum_CFSR_Y2009M8.nc |
./input/rhum_CFSR_Y2009M9.nc |
./input/rhum_CFSR_Y2009M10.nc |
./input/rhum_CFSR_Y2009M11.nc |
./input/rhum_CFSR_Y2009M12.nc |
./input/rhum_CFSR_Y2010M1.nc |
./input/rhum_CFSR_Y2010M2.nc |
./input/rhum_CFSR_Y2010M3.nc |
./input/rhum_CFSR_Y2010M4.nc |
./input/rhum_CFSR_Y2010M5.nc |
./input/rhum_CFSR_Y2010M6.nc \
./input/rain_nam_CFSR_Y2008M10.nc |
./input/rain_nam_CFSR_Y2008M11.nc |
./input/rain_nam_CFSR_Y2008M12.nc |
./input/rain_nam_CFSR_Y2009M1.nc |
./input/rain_nam_CFSR_Y2009M2.nc |
./input/rain_nam_CFSR_Y2009M3.nc |
./input/rain_nam_CFSR_Y2009M4.nc |
./input/rain_nam_CFSR_Y2009M5.nc |
./input/rain_nam_CFSR_Y2009M6.nc |
./input/rain_nam_CFSR_Y2009M7.nc |
./input/rain_nam_CFSR_Y2009M8.nc |
./input/rain_nam_CFSR_Y2009M9.nc |
./input/rain_nam_CFSR_Y2009M10.nc |
./input/rain_nam_CFSR_Y2009M11.nc |
./input/rain_nam_CFSR_Y2009M12.nc |
./input/rain_nam_CFSR_Y2010M1.nc |
./input/rain_nam_CFSR_Y2010M2.nc |
./input/rain_nam_CFSR_Y2010M3.nc |
./input/rain_nam_CFSR_Y2010M4.nc |
./input/rain_nam_CFSR_Y2010M5.nc |
./input/rain_nam_CFSR_Y2010M6.nc \
./input/Pair_CFSR_Y2008M10.nc |
./input/Pair_CFSR_Y2008M11.nc |
./input/Pair_CFSR_Y2008M12.nc |
./input/Pair_CFSR_Y2009M1.nc |
./input/Pair_CFSR_Y2009M2.nc |
./input/Pair_CFSR_Y2009M3.nc |
./input/Pair_CFSR_Y2009M4.nc |
./input/Pair_CFSR_Y2009M5.nc |
./input/Pair_CFSR_Y2009M6.nc |
./input/Pair_CFSR_Y2009M7.nc |
./input/Pair_CFSR_Y2009M8.nc |
./input/Pair_CFSR_Y2009M9.nc |
./input/Pair_CFSR_Y2009M10.nc |
./input/Pair_CFSR_Y2009M11.nc |
./input/Pair_CFSR_Y2009M12.nc |
./input/Pair_CFSR_Y2010M1.nc |
./input/Pair_CFSR_Y2010M2.nc |
./input/Pair_CFSR_Y2010M3.nc |
./input/Pair_CFSR_Y2010M4.nc |
./input/Pair_CFSR_Y2010M5.nc |
./input/Pair_CFSR_Y2010M6.nc \
./input/Tair_nam_CFSR_Y2008M10.nc |
./input/Tair_nam_CFSR_Y2008M11.nc |
./input/Tair_nam_CFSR_Y2008M12.nc |
./input/Tair_nam_CFSR_Y2009M1.nc |
./input/Tair_nam_CFSR_Y2009M2.nc |
./input/Tair_nam_CFSR_Y2009M3.nc |
./input/Tair_nam_CFSR_Y2009M4.nc |
./input/Tair_nam_CFSR_Y2009M5.nc |
./input/Tair_nam_CFSR_Y2009M6.nc |
./input/Tair_nam_CFSR_Y2009M7.nc |
./input/Tair_nam_CFSR_Y2009M8.nc |
./input/Tair_nam_CFSR_Y2009M9.nc |
./input/Tair_nam_CFSR_Y2009M10.nc |
./input/Tair_nam_CFSR_Y2009M11.nc |
./input/Tair_nam_CFSR_Y2009M12.nc |
./input/Tair_nam_CFSR_Y2010M1.nc |
./input/Tair_nam_CFSR_Y2010M2.nc |
./input/Tair_nam_CFSR_Y2010M3.nc |
./input/Tair_nam_CFSR_Y2010M4.nc |
./input/Tair_nam_CFSR_Y2010M5.nc |
./input/Tair_nam_CFSR_Y2010M6.nc \
./input/lwrad_CFSR_Y2008M10.nc |
./input/lwrad_CFSR_Y2008M11.nc |
./input/lwrad_CFSR_Y2008M12.nc |
./input/lwrad_CFSR_Y2009M1.nc |
./input/lwrad_CFSR_Y2009M2.nc |
./input/lwrad_CFSR_Y2009M3.nc |
./input/lwrad_CFSR_Y2009M4.nc |
./input/lwrad_CFSR_Y2009M5.nc |
./input/lwrad_CFSR_Y2009M6.nc |
./input/lwrad_CFSR_Y2009M7.nc |
./input/lwrad_CFSR_Y2009M8.nc |
./input/lwrad_CFSR_Y2009M9.nc |
./input/lwrad_CFSR_Y2009M10.nc |
./input/lwrad_CFSR_Y2009M11.nc |
./input/lwrad_CFSR_Y2009M12.nc |
./input/lwrad_CFSR_Y2010M1.nc |
./input/lwrad_CFSR_Y2010M2.nc |
./input/lwrad_CFSR_Y2010M3.nc |
./input/lwrad_CFSR_Y2010M4.nc |
./input/lwrad_CFSR_Y2010M5.nc |
./input/lwrad_CFSR_Y2010M6.nc \
./input/lwrad_down_CFSR_Y2008M10.nc |
./input/lwrad_down_CFSR_Y2008M11.nc |
./input/lwrad_down_CFSR_Y2008M12.nc |
./input/lwrad_down_CFSR_Y2009M1.nc |
./input/lwrad_down_CFSR_Y2009M2.nc |
./input/lwrad_down_CFSR_Y2009M3.nc |
./input/lwrad_down_CFSR_Y2009M4.nc |
./input/lwrad_down_CFSR_Y2009M5.nc |
./input/lwrad_down_CFSR_Y2009M6.nc |
./input/lwrad_down_CFSR_Y2009M7.nc |
./input/lwrad_down_CFSR_Y2009M8.nc |
./input/lwrad_down_CFSR_Y2009M9.nc |
./input/lwrad_down_CFSR_Y2009M10.nc |
./input/lwrad_down_CFSR_Y2009M11.nc |
./input/lwrad_down_CFSR_Y2009M12.nc |
./input/lwrad_down_CFSR_Y2010M1.nc |
./input/lwrad_down_CFSR_Y2010M2.nc |
./input/lwrad_down_CFSR_Y2010M3.nc |
./input/lwrad_down_CFSR_Y2010M4.nc |
./input/lwrad_down_CFSR_Y2010M5.nc |
./input/lwrad_down_CFSR_Y2010M6.nc \
./input/swrad_nam_CFSR_Y2008M10.nc |
./input/swrad_nam_CFSR_Y2008M11.nc |
./input/swrad_nam_CFSR_Y2008M12.nc |
./input/swrad_nam_CFSR_Y2009M1.nc |
./input/swrad_nam_CFSR_Y2009M2.nc |
./input/swrad_nam_CFSR_Y2009M3.nc |
./input/swrad_nam_CFSR_Y2009M4.nc |
./input/swrad_nam_CFSR_Y2009M5.nc |
./input/swrad_nam_CFSR_Y2009M6.nc |
./input/swrad_nam_CFSR_Y2009M7.nc |
./input/swrad_nam_CFSR_Y2009M8.nc |
./input/swrad_nam_CFSR_Y2009M9.nc |
./input/swrad_nam_CFSR_Y2009M10.nc |
./input/swrad_nam_CFSR_Y2009M11.nc |
./input/swrad_nam_CFSR_Y2009M12.nc |
./input/swrad_nam_CFSR_Y2010M1.nc |
./input/swrad_nam_CFSR_Y2010M2.nc |
./input/swrad_nam_CFSR_Y2010M3.nc |
./input/swrad_nam_CFSR_Y2010M4.nc |
./input/swrad_nam_CFSR_Y2010M5.nc |
./input/swrad_nam_CFSR_Y2010M6.nc \
./input/Uwind_CFSR_Y2008M10.nc |
./input/Uwind_CFSR_Y2008M11.nc |
./input/Uwind_CFSR_Y2008M12.nc |
./input/Uwind_CFSR_Y2009M1.nc |
./input/Uwind_CFSR_Y2009M2.nc |
./input/Uwind_CFSR_Y2009M3.nc |
./input/Uwind_CFSR_Y2009M4.nc |
./input/Uwind_CFSR_Y2009M5.nc |
./input/Uwind_CFSR_Y2009M6.nc |
./input/Uwind_CFSR_Y2009M7.nc |
./input/Uwind_CFSR_Y2009M8.nc |
./input/Uwind_CFSR_Y2009M9.nc |
./input/Uwind_CFSR_Y2009M10.nc |
./input/Uwind_CFSR_Y2009M11.nc |
./input/Uwind_CFSR_Y2009M12.nc |
./input/Uwind_CFSR_Y2010M1.nc |
./input/Uwind_CFSR_Y2010M2.nc |
./input/Uwind_CFSR_Y2010M3.nc |
./input/Uwind_CFSR_Y2010M4.nc |
./input/Uwind_CFSR_Y2010M5.nc |
./input/Uwind_CFSR_Y2010M6.nc \
./input/Vwind_CFSR_Y2008M10.nc |
./input/Vwind_CFSR_Y2008M11.nc |
./input/Vwind_CFSR_Y2008M12.nc |
./input/Vwind_CFSR_Y2009M1.nc |
./input/Vwind_CFSR_Y2009M2.nc |
./input/Vwind_CFSR_Y2009M3.nc |
./input/Vwind_CFSR_Y2009M4.nc |
./input/Vwind_CFSR_Y2009M5.nc |
./input/Vwind_CFSR_Y2009M6.nc |
./input/Vwind_CFSR_Y2009M7.nc |
./input/Vwind_CFSR_Y2009M8.nc |
./input/Vwind_CFSR_Y2009M9.nc |
./input/Vwind_CFSR_Y2009M10.nc |
./input/Vwind_CFSR_Y2009M11.nc |
./input/Vwind_CFSR_Y2009M12.nc |
./input/Vwind_CFSR_Y2010M1.nc |
./input/Vwind_CFSR_Y2010M2.nc |
./input/Vwind_CFSR_Y2010M3.nc |
./input/Vwind_CFSR_Y2010M4.nc |
./input/Vwind_CFSR_Y2010M5.nc |
./input/Vwind_CFSR_Y2010M6.nc

If I run from Y2008M10 until Y2010M5 the model works, but if I include Y2010M6 the follow error happen:

NETCDF_OPEN - unable to open existing NetCDF file:
�������� @q������
call from: inp_par.F, find_file

I have checked all files, and I created the Y2010M6 again in the same way of the other files, everything is the same. I found this link (https://www.myroms.org/wiki/Frequently_Asked_Questions) that says about some random junk in the NETCDF_OPEN, but I have no comments in this part of my code, and all my input files are in the correct folder.
Any advice about my problem?

Thanks in advance.

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

Re: Input files

#2 Unread post by kate »

Yes, there's a limit of 200, hard-coded in read_phypar.F as the dimention of Cval on line 95.

angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Re: Input files

#3 Unread post by angelolemos »

Thank you Kate,

I have 200 files from Y2008M10 until Y2010M5, and if I include one more the error appears.
Should I reduce the number of input files or there is some way to change read_phypar.F?
Thank you again.

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

Re: Input files

#4 Unread post by kate »

You can just change read_phypar.F, can't you? Change the 200 to 300 and you should be good for a bit.

angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Re: Input files

#5 Unread post by angelolemos »

Yes, I tried to change from 200 to 400, but unfortunately didn't work.

/src/ROMS/Utility/read_phypar.F
line 95

from
character (len=256), dimension(200) :: Cval

to
character (len=256), dimension(400) :: Cval

Maybe is necessary changing something else, I don't know.

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

Re: Input files

#6 Unread post by kate »

There's another such line in inp_par.F, function decode_line.

fagundesmo
Posts: 51
Joined: Wed Dec 03, 2014 1:46 am
Location: University of Georgia

Re: Input files

#7 Unread post by fagundesmo »

May I suggest you merging all files in one?

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

Re: Input files

#8 Unread post by kate »

I merge files to have one a year per field, but I don't want to merge everything down to one file (as would be required by the French code).

fagundesmo
Posts: 51
Joined: Wed Dec 03, 2014 1:46 am
Location: University of Georgia

Re: Input files

#9 Unread post by fagundesmo »

hmm,

so if I had 20 yrs of ocean BRY and had all those years merged in one file that could create a problem to ROMS (US version)? If so, that could explain many things in my outputs ahahha.

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

Re: Input files

#10 Unread post by kate »

If it's running, then you're good to go and I don't think you can blame large boundary files for any troubles.

angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Re: Input files

#11 Unread post by angelolemos »

Thank you Kate, my input files are working now.

Post Reply