seagrid output netcdf file

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
loric
Posts: 14
Joined: Mon Nov 12, 2007 2:17 pm
Location: UP - Marine Science Institute

seagrid output netcdf file

#1 Post by loric » Thu Feb 28, 2008 8:27 am

Hi,

Just a quick question. I've been able to run seagrid with some success for my own application. I've let seagrid compute the landmask and bathymetry, and then saved it with all this information. I then ran seagrid2roms to convert into a netcdf file. Does this mean that I just need this one file to specify my grid, landmask, and bathymetry? No need for separate landmask and bathy files?

crode1968
Posts: 13
Joined: Thu Oct 28, 2004 6:58 pm
Location: Danish Meteorological Institute

#2 Post by crode1968 » Fri Feb 29, 2008 10:13 am

This is correct. The via seagrid2roms converted file should contain all necessary fields. You might check the content visually with ncview (http://meteora.ucsd.edu/~pierce/ncview_home_page.html) a simple netCDF viewer, which I use also to inspect model output. But please keep in mind, it is only a viewer.

If I want to change or check my landmask, I use editmask of the ROMS Matlab toolbox (sub directory rmask). You can easily change whole groups of boxes without clicking on each single grid point, which is very convenient.

loric
Posts: 14
Joined: Mon Nov 12, 2007 2:17 pm
Location: UP - Marine Science Institute

#3 Post by loric » Mon Mar 03, 2008 11:33 pm

Thanks for the reply and the helpful hints. I'm trying out both of your suggestions. For ncview, I'm using Ubuntu, so there are some issues with the X11 libraries. But the website you gave has hints for this.

As for editmask, here's where I'm getting a bit confused. And searching for it has led to the discovery of the several "flavors" of ROMS in use. I would like to use the Rutgers version, but an internet search for ROMS toolbox leads me to the AGRIF version. Is there a specific ROMS matlab toolbox, and hence editmask, for the Rutgers version?

crode1968
Posts: 13
Joined: Thu Oct 28, 2004 6:58 pm
Location: Danish Meteorological Institute

#4 Post by crode1968 » Tue Mar 04, 2008 9:39 am

Matlab Toolboxes for ROMS are also available from the following sites

a) ROMS web site (Software / Processing Packages / matlab.tar.gz ), http://www.myroms.org/index.php?page=Processing (Enter the matlab directory)
b) E. Di Lorenzo web site: http://www.ocean3d.org/RNT/

I personally use the collection of toolboxes from the first address, which works fine with Roms-3.0. Do not forget to adjust in startup.m the line my_root='/home/arango/ocean';.

loric
Posts: 14
Joined: Mon Nov 12, 2007 2:17 pm
Location: UP - Marine Science Institute

#5 Post by loric » Mon Mar 10, 2008 2:56 am

Thanks very much for the links, and for your help on this subjetc. I'll be trying out the tools and hope to learn how to use them well.

Loric

Post Reply