INQUIRE - unable to find requested variable: tide_period

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
aakashsane
Posts: 14
Joined: Tue Sep 19, 2017 2:14 pm
Location: Brown University

INQUIRE - unable to find requested variable: tide_period

#1 Unread post by aakashsane »

Hello!

I am running the latest version of roms (downloaded fresh copy today and ported everything from older version to newer version. I also ran the test case 'upwelling' and there was no problem in running it.)

For the model I am running, I have compiled it with no issues.
But when I am running it, I am getting the following error:

INQUIRE - unable to find requested variable: tide_period
in files:
frc_NAM_wind_fields_OSOM_2006.nc
frc_bulk8_point_osom_2006.nc

I am guessing it is trying to find the variable 'tide_period' in forcing file. But the variable 'tide_period' has already
been defined in the tidal forcing file under 'TIDENAME'.
I have checked varinfo.dat file and the variable 'tide_period' exists in it.

Could someone please highlight what I am doing wrong?
Last edited by aakashsane on Sat Jan 05, 2019 4:57 am, edited 1 time in total.

aakashsane
Posts: 14
Joined: Tue Sep 19, 2017 2:14 pm
Location: Brown University

Re: INQUIRE - unable to find requested variable: tide_pe

#2 Unread post by aakashsane »

An update on this:

When I am having these settings in the ocean.in file:
___________________________________________________________________
TIDENAME == osom_grid4_mindep_smlp_mod6_tidalforcing_2006.nc

NFFILES == 2 ! number of unique forcing files

FRCNAME == frc_NAM_wind_fields_OSOM_2006.nc \ ! forcing file 1, grid 1
frc_bulk8_point_osom_2006.nc
___________________________________________________________________
I am getting the error mentioned in the previous post.

But when I do this:

___________________________________________________________________
! TIDENAME == osom_grid4_mindep_smlp_mod6_tidalforcing_2006.nc

NFFILES == 3 ! number of unique forcing files

FRCNAME == osom_grid4_mindep_smlp_mod6_tidalforcing_2006.nc \
frc_NAM_wind_fields_OSOM_2006.nc \ ! forcing file 1, grid 1
frc_bulk8_point_osom_2006.nc
___________________________________________________________________

the model is running and I am not getting errors.

Any suggestions on this?

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

Re: INQUIRE - unable to find requested variable: tide_pe

#3 Unread post by kate »

I would be very careful about the formatting of the list of forcing files. No tabs, no trailing comments. ROMS will skip a line starting with "!", but not skip the stuff following a mid-line "!". Just put the comments on their own lines before the rest.

cloudy4568
Posts: 39
Joined: Thu Oct 17, 2019 8:56 pm
Location: Clarkson University

Re: INQUIRE - unable to find requested variable: tide_period

#4 Unread post by cloudy4568 »

Hi, I have met the same problem with yours, but can't solve it by your method.

When .in file is this:

Code: Select all

TIDENAME == /home/cyue/cyue/bohai/data/bohaitide5.nc
 NFFILES == 9                          ! number of forcing files
 FRCNAME == /home/cyue/cyue/bohai/data/gom_Pair_era.nc    \
               /home/cyue/cyue/bohai/data/gom_Qair_era.nc    \
               /home/cyue/cyue/bohai/data/gom_Tair_era.nc    \
               /home/cyue/cyue/bohai/data/gom_rain_era.nc    \
               /home/cyue/cyue/bohai/data/gom_swrad_era.nc   \
               /home/cyue/cyue/bohai/data/gom_windU_era.nc   \
               /home/cyue/cyue/bohai/data/gom_windV_era.nc   \
               /home/cyue/cyue/bohai/data/gom_lwrad_era.nc   \
               /home/cyue/cyue/bohai/data/albedo.nc          
I get error:

Code: Select all

INQUIRY     - unable to find requested variable: tide_period
               in file:
               /home/cyue/cyue/bohai/data/bohaitide5.nc
 Found Error: 02   Line: 422      Source: ROMS/Utility/inquiry.F
 Found Error: 02   Line: 123      Source: ROMS/Utility/get_ngfld.F
 Found Error: 02   Line: 115      Source: ROMS/Nonlinear/get_idata.F
 Found Error: 02   Line: 97       Source: ROMS/Utility/get_2dfld.F
 Found Error: 02   Line: 307      Source: ROMS/Nonlinear/get_data.F
 Found Error: 02   Line: 833      Source: ROMS/Nonlinear/initial.F
 Found Error: 02   Line: 188      Source: ROMS/Drivers/nl_ocean.h
When .in file is this:

Code: Select all

! TIDENAME == /home/cyue/cyue/bohai/data/bohaitide5.nc
 NFFILES == 10                          ! number of forcing files
 FRCNAME == /home/cyue/cyue/bohai/data/gom_Pair_era.nc    \
               /home/cyue/cyue/bohai/data/gom_Qair_era.nc    \
               /home/cyue/cyue/bohai/data/gom_Tair_era.nc    \
               /home/cyue/cyue/bohai/data/gom_rain_era.nc    \
               /home/cyue/cyue/bohai/data/gom_swrad_era.nc   \
               /home/cyue/cyue/bohai/data/gom_windU_era.nc   \
               /home/cyue/cyue/bohai/data/gom_windV_era.nc   \
               /home/cyue/cyue/bohai/data/gom_lwrad_era.nc   \
               /home/cyue/cyue/bohai/data/albedo.nc  \
               /home/cyue/cyue/bohai/data/bohaitide5.nc
I get error:

Code: Select all

INP_PAR:FIND_FILE - empty file name string for standard input script KeyWord: TIDENAME
 Found Error: 05   Line: 420      Source: ROMS/Utility/inp_decode.F

 READ_PHYPAR - Grid 01, could not find input file:  Oops unassigned file name. Check standard input script...
 Found Error: 04   Line: 6679     Source: ROMS/Utility/read_phypar.F
 Found Error: 04   Line: 162      Source: ROMS/Utility/inp_par.F
 Found Error: 04   Line: 111      Source: ROMS/Drivers/nl_ocean.h
Do you have any idea of this situation? :?

cloudy4568
Posts: 39
Joined: Thu Oct 17, 2019 8:56 pm
Location: Clarkson University

Re: INQUIRE - unable to find requested variable: tide_period

#5 Unread post by cloudy4568 »

Problem solved. Tide_period in Variables is not the only one model is looking for, but also tide_period in Dimensions, like 'tide_period = 8'. I was using the other name('period=8'), so this error occurred. Thank you for your help.

Post Reply