Missing PAR variable in the roms_metadata.m

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
alazhar
Posts: 18
Joined: Wed Dec 03, 2008 2:06 pm
Location: PML

Missing PAR variable in the roms_metadata.m

#1 Unread post by alazhar »

Although maybe PAR variable is not as important as other variables, but I get the following error in Matlab when creating ROMS forcing files from ECMWF data using d_ecmwf2roms.m. Apparently, there is no PAR defined in the roms_metadata.m. Or maybe I'm using obsolete d_ecmwf2roms.m and roms_metadata.m files?

---------------------------------------------------------------------------
** Creating ROMS NetCDF forcing file: seag_PAR_era.nc **

Error using roms_metadata (line 5060)
ROMS_METADATA: unable to find metadata for variable: PAR

Error in d_ecmwf2roms (line 365)
S.Variables(5) = roms_metadata(Vname, spherical, nctype, Unlimited);
---------------------------------------------------------------------------

simion1232006
Posts: 60
Joined: Tue Sep 29, 2009 3:50 pm
Location: School of Environment System Engineering,UWA

Re: Missing PAR variable in the roms_metadata.m

#2 Unread post by simion1232006 »

As far as I know, roms_metadata doesn't include that variable. You need to make a little modification for your own purpose.

Post Reply