Hello ROMS Community,
Can anyone tell how ROMS model is reading the input variables from the forcing files?
I am providing observed forcing files to the model and I want to know whether these files and their variable names are need to be defined in any place of model?
NFFILES == 9
FRCNAME == roms_frc.nc \
vwind.nc \
uwind.nc \
surface_pres.nc \
specific_hum.nc \
shortwave.nc \
precip.nc \
longwave.nc \
airtemp.nc
How these files are recognised and thier variables are read by the model?
For example, surface_pres.nc has "spressure" variable name.
then how this spressure variable is assigned to model's pressure variable?
Regards
Tara
How to setup the variable names of input Forcing files ?
Re: How to setup the variable names of input Forcing files ?
ROMS does the mapping between your Netcdf variable names and its fields through the varinfo.dat file. The default name for surface air pressure is Pair, so you should search for that in the varinfo file and change it for your needs. ROMS uses the tag idPair - please don't change that.
Re: How to setup the variable names of input Forcing files ?
Dear Kate,
Thanks for the kind information and sorry for the late reply. But one more doubt I have regarding the name of the addition forcing files and I want to know whether I can keep any name of files or it should be decided by some specific rule to set the name of forcing files. If I am setting my own name (eg. surface_pres.nc,specific_hum.nc, precip.nc etc.) of a forcing file then how the model will recognize or take information of variable from those forcing files and whether it is needed to define the name and variables of files in program or file in the model.
With Regards-
Tara
Thanks for the kind information and sorry for the late reply. But one more doubt I have regarding the name of the addition forcing files and I want to know whether I can keep any name of files or it should be decided by some specific rule to set the name of forcing files. If I am setting my own name (eg. surface_pres.nc,specific_hum.nc, precip.nc etc.) of a forcing file then how the model will recognize or take information of variable from those forcing files and whether it is needed to define the name and variables of files in program or file in the model.
With Regards-
Tara
Re: How to setup the variable names of input Forcing files ?
You can name the files anything you like. Just list the names in the ocean.in file. ROMS doesn't pay any more attention to the file name than knowing which file to open. It can query the files for the names of the NetCDF variables within them.
Re: How to setup the variable names of input Forcing files ?
Dear Kate,
I am very thankful for your quick and useful suggestions.
I am very thankful for your quick and useful suggestions.