how to run the upwelling (default) test ?

Facts, news, and guidance about ROMS software

Moderators: arango, robertson

Post Reply
Message
Author
cecilia
Posts: 41
Joined: Thu Aug 16, 2007 9:10 pm
Location: DGF - UChile
Contact:

how to run the upwelling (default) test ?

#1 Unread post by cecilia »

I have compiled the ROMS using the make tool (with the correct compiler definitions and paths) in the roms-2.2 directory. Then I typed (in the command line) the executable file (oceanS).

But it is no clear for me how the model is working and if the model is running well.

Someone could explain to me for the upwelling test where:

a) the input files are read or generated
b) the output files are written
c) I could get information about grid parameters

Thanks a lot

alva53

how run upwelling

#2 Unread post by alva53 »

Hi Cecilia,
It´s easy(don´t worry I have the same problem at first time):
Put in the command line:
oceansS <ocean_upwelling> ocean.out
If necessary include the path to the file ocean_upwelling.in(file definition to your run). The file ocean ocean.out(or filename at your taste) will echo details of the processing and the results will be wrote in the executable directory.
As the initial conditions and grid are analytical creations, you can find information, for the grid creation process, in the file /Functional/ana_grid.h or in /Build/analytical.f90 SUBROUTINE ana_grid.
Hope being helpfull
J. Alvarenga

cecilia
Posts: 41
Joined: Thu Aug 16, 2007 9:10 pm
Location: DGF - UChile
Contact:

#3 Unread post by cecilia »

Thanls a lot J. Alvarenga,

I will try your directions.

cecilia
Posts: 41
Joined: Thu Aug 16, 2007 9:10 pm
Location: DGF - UChile
Contact:

#4 Unread post by cecilia »

J Alvarenga,

I run the upwelling test with success... Thanks a lot again.

Please could you tell what editors I could use to open, visualizate and process the NetCdf output files ?

Bye

Cecilia

alva53

how to run the upwelling (default) test ?

#5 Unread post by alva53 »

Hi Cecilia,
Two possible solutions:
1)You can use the utility ncdump. Get it in:
http://www.unidata.ucar.edu/software/netcdf/
2)Install Ferret. Get it in:
http://ferret.wrc.noaa.gov/Ferret/
The option 1) is easier.
Good luck
J Alvarenga

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

#6 Unread post by kate »

cecilia wrote: Please could you tell what editors I could use to open, visualizate and process the NetCdf output files ?
Each person has their favorite tool(s) for this. ncdump is great for looking at a few raw numbers. Matlab is used by many, Ferret by some, IDV, NCL, and Python are used by others. ncview is a quick and dirty viewer, but won't show you things in the correct geometry unless you have a square box grid. A program that's been a workhorse for us over the years is the Fortran plotting programs Hernan wrote - they call NCAR graphics routines, now in svn.

* http://www.mathworks.com/products/matlab/
* http://www.unidata.ucar.edu/software/idv/
* http://www.ncl.ucar.edu/
* http://code.google.com/p/pyroms/
* http://meteora.ucsd.edu/~pierce/ncview_home_page.html
* https://www.myroms.org/svn/src/plot/

Pick your poison! Others have matlab scripts for plotting - ask again if that's what you want to pursue.

cecilia
Posts: 41
Joined: Thu Aug 16, 2007 9:10 pm
Location: DGF - UChile
Contact:

#7 Unread post by cecilia »

Kate,

Thanks a lot for you reply. I would like to have plotting scripts for Matlab (are you refering to NetCDF Matlab Mex files or others ?). Also I would like to review the NCAR graphic routines and ncdum and ncgen utilities.

Also, I will check if GMT also works with NetCDF format.

Bye

Post Reply