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);
---------------------------------------------------------------------------
Missing PAR variable in the roms_metadata.m
-
- 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
As far as I know, roms_metadata doesn't include that variable. You need to make a little modification for your own purpose.