Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sun Aug 25, 2019 2:57 am




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
PostPosted: Mon Jul 16, 2018 10:22 am 
Offline

Joined: Thu Jul 05, 2018 4:32 pm
Posts: 4
Location: Korea
Hello. I'm Soo a newbie of ROMS.
I just finished "Upwelling case" following https://www.myroms.org/wiki/ROMS_UNSW2008 .

Now I want to visualize this result(ocean_his.nc) without ROMS Plotting packages, but ncl or VAPOR.
However the grid[lat x lon] in the result seems not be determined.

When I use PrintVarSummary(any variable) in ncl, the result shows
Code:
Dimensions and sizes:   [ocean_time | 21] x [s_rho | 16] x [eta_rho | 82] x [xi_rho | 43]
Coordinates:
            ocean_time: [   0..432000]
            s_rho: [-0.96875..-0.03125]
Number Of Attributes: 7
  long_name :   potential temperature
  units :   Celsius
  time :   ocean_time
  grid :   grid
  location :   face
  coordinates :   x_rho y_rho s_rho ocean_time
  field :   temperature, scalar, series

I tried to change this curvilinear grid to another.
However all trials fail because this grid has no valid dimension.
Code:
fatal:No coordinate variable exists for dimension (eta_rho) in variable (temp)

get_src_grid_info: can't determine what type of source grid you have.


Also in VAPOR tell me the grid is invalid.
How can I make this grid to valid coordinate which can be plot?

I am sorry if I had mistake above letter-It's my first text.
Thank you.

Soo


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 16, 2018 3:14 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3646
Location: IMS/UAF, USA
Are you aware of this page for plotting ROMS with NCL? Justin Small at NCAR also has some NCL scripts for working with ROMS.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 17, 2018 3:03 am 
Offline

Joined: Thu Jul 05, 2018 4:32 pm
Posts: 4
Location: Korea
Thank you for replying!
Yes I checked code on that page but it requires "CGOA_grid_3.nc" file.
I have tried to search that file but fail.

I need to contact him. Thanks a lot!


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 17, 2018 5:16 am 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3646
Location: IMS/UAF, USA
Well, I have that file lying around, but that's the grid file for one of my old domains, not for your domain. You need the grid file for your domain, which would be in the output from the UPWELLING case. Some ROMS domains use xr, yr while others use lonr, latr. UPWELLING is one using x,y while CGOA uses lon,lat. Depending on the scripts, you might have to change things accordingly.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 18, 2018 2:40 am 
Offline

Joined: Thu Jul 05, 2018 4:32 pm
Posts: 4
Location: Korea
kate wrote:
Well, I have that file lying around, but that's the grid file for one of my old domains, not for your domain. You need the grid file for your domain, which would be in the output from the UPWELLING case. Some ROMS domains use xr, yr while others use lonr, latr. UPWELLING is one using x,y while CGOA uses lon,lat. Depending on the scripts, you might have to change things accordingly.


Thank you Kate!
Could you let me know where I get the script?

Thanks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group