Skip Navigation Links www.nws.noaa.gov 
NOAA logo - Click to go to the NOAA homepage National Weather Service   NWS logo - Click to go to the NWS homepage
Environmental Modeling Center
 
 
Local forecast by
"City, St" or
Zip Code

 
NOAA is celebrating 200 years 
    of science, service, and stewardship. Visit the NOAA 200th celebration 
    Web site to learn more

Marine Modeling and Analysis Branch Logo
Click here to go to the EMC/MMAB homepage

Notes on reading RTOFS (Atlantic) Model Data via Ferret

Home Compare with Obs Data Assim Monitor (Internal) RTOFS & WOCE Graphics Viewer Data Access About the Model

Ferret is an interactive computer visualization and analysis environment designed to meet the needs of oceanographers and meteorologists analyzing large and complex gridded data sets. It runs on most Unix systems, and on Windows XP/NT/9x using X-windows for display. It can transparently access extensive remote Internet data bases using OPeNDAP (formerly known as DODS).

Click here for more information on Ferret.

To use Ferret to convert GRiB to NetCDF files:

STEP 1:

Download the version of Ferret appropriate for your operating system from:
http://ferret.pmel.noaa.gov/Ferret/Downloads/ferret_downloads.html
Follow the instructions provided by the Install Guide.

STEP 2:

Create a script -- for example calling it go.jnl:

(the script starts with the next line)

use "http://nomads6.ncdc.noaa.gov:9090/dods/rtofs/daily/rtofs20070828/rtofs_PLOT_atl"
SET MEMORY/SIZE=350
save/file=ofs_atl_wtmpdsl_N000.nc/L=1/I=400:1000/J=400:1684/CLOBBER wtmpdsl
quit

(end of script)

the above example is for writing temperature in netCDF format and where
I = 400 to 1000; J = 400 to 1684 for for Time slice L=1

To change the date:
change rtofs20070828 to a different date as in:
rtofsyyyymmdd yyyy is a 4-digit year, mm is month and dd is day

example: rtofs20070828

and change and I and J to the range you want and L to the forecast time you want
(1 is nowcast, 2: 24-hr forecast, 3: 48-hr forecast, 4: 72-hr forecast,
5: 96-hr forecast and 6: 120-hr forecast)

for other parameters/fields available check the link:

http://nomads6.ncdc.noaa.gov:9090/dods/rtofs/daily/rtofsyyyymmdd/rtofs_PLOT_atl.info

(where rtofsyyyymmdd; yyyy-year, mm-month, dd-day; example: rtofs20070828)

STEP 3:

In Unix-type environments you can run Ferret using the command:

ferret -batch -script < go.jnl
this will generate the NetCDF file you want.


EMC/MMAB Information Topics:
All Products, About Us, Contact Us
NOAA/ National Weather Service
National Centers for Environmental Prediction
Environmental Modeling Center
Marine Modeling and Analysis Branch
5200 Auth Road
Camp Springs, Maryland 20746-4304 USA
About Us
Disclaimer
Credits
Career Opportunities
Glossary
Privacy Policy
Comments/Feedback
Page last modified: Tuesday, 23-Sep-2008 12:00:51 EDT