unable to find requested variable: u_west

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
youngstor
Posts: 29
Joined: Mon Mar 01, 2010 2:11 pm
Location: Georgia

unable to find requested variable: u_west

#1 Unread post by youngstor »

Hi ROMS community,

I am running ROMS with '

Code: Select all

#define BULK_FLUXES
' turned on, and I am supplying it with the forcing file '

Code: Select all

roms_narr_Jan2012.nc
', which contains the following variables:

Code: Select all

>> netcdf_load roms_narr_Jan2012.nc
>> whos
  Name             Size                  Bytes  Class     Attributes

  Uwind          300x120x25            7200000  double              
  Vwind          300x120x25            7200000  double              
  lat            300x120                288000  double              
  lon            300x120                288000  double              
  wind_time       25x1                     200  double  
However, when I ran ROMS, I came across the following error:

Code: Select all

GET_NGFLD   - unable to find requested variable: u_west
               in file: /nas/xyang44/coawst/Projects/test_indv_grd_full_run/roms_narr_Jan2012.nc
The boundary file '

Code: Select all

BRYNAME == /nas/xyang44/coawst/Projects/test_indv_grd_full_run/coawst_bdy.nc
'only has the following variables and doesn't have 'u_west':

Code: Select all

>> netcdf_load coawst_bdy.nc
>> whos
  Name              Size            Bytes  Class     Attributes

  salt_east       120x30            14400  single              
  salt_south      300x30            36000  single              
  salt_time         1x1                 8  double              
  temp_east       120x30            14400  single              
  temp_south      300x30            36000  single              
  temp_time         1x1                 8  double              
  u_east          120x30            14400  single              
  u_south         299x30            35880  single              
  ubar_east       120x1               480  single              
  ubar_south      299x1              1196  single              
  v2d_time          1x1                 8  double              
  v3d_time          1x1                 8  double              
  v_east          119x30            14280  single              
  v_south         300x30            36000  single              
  vbar_east       119x1               476  single              
  vbar_south      300x1              1200  single              
  zeta_east       120x1               960  double              
  zeta_south      300x1              2400  double              
  zeta_time         1x1                 8  double 
I appreciate your help!

Thanks,
Xiufeng

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

Re: unable to find requested variable: u_west

#2 Unread post by kate »

It's odd that it's looking for a boundary field in a forcing file. Still, what boundary conditions are you asking for? Should the west be a wall? Also, is this new coawst or old coawst? Did you provide LBC to new coawst in the ocean.in file?

hbzong
Posts: 36
Joined: Thu Oct 04, 2007 4:14 am
Location: Fathom Science
Contact:

Re: unable to find requested variable: u_west

#3 Unread post by hbzong »

It seems that you use Matlab scripts in the directory roms_clm of COAWST to generate boundary file. In their case, west and north boundary are close boundaries. You need to edit create_roms_netcdf_bndry_mw.m and updatbdry_coawst_mw.m to write west boundary informations in netCDF file.

youngstor
Posts: 29
Joined: Mon Mar 01, 2010 2:11 pm
Location: Georgia

Re: unable to find requested variable: u_west

#4 Unread post by youngstor »

Hi Kate and hbzong,

You guys are right. I was using the scripts from the COAWST, and it didn't have BC on west and north ends.

Thanks for your help!

Xiufeng
hbzong wrote:It seems that you use Matlab scripts in the directory roms_clm of COAWST to generate boundary file. In their case, west and north boundary are close boundaries. You need to edit create_roms_netcdf_bndry_mw.m and updatbdry_coawst_mw.m to write west boundary informations in netCDF file.

Post Reply