Re: open NetCDF file

From: <Oliver.Fuhrer_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 26 2011 - 08:32:46 MDT

Hi Estefania,

The way to open a NetCDF file in NCL is...

f = addfile("myfile.nc","r") ; open myfile.nc read-only
var = f->T ; read variable T from file and store in var
delete(f) ; close myfile.nc

If you are new to NCL, maybe looking at the "Getting Started Using NCL" Manual ( http://www.ncl.ucar.edu/Document/Manuals/Getting_Started/ )would be a good idea.

Cheers,
Oli
 
________________________________________

Oliver Fuhrer
Numerical Models

Federal Departement of Home Affairs FDHA
Federal Office of Meteorology and Climatology MeteoSwiss

Kraehbuehlstrasse 58, P.O. Box 514, CH-8044 Zurich, Switzerland

Tel. +41 44 256 93 59
Fax +41 44 256 92 78
oliver.fuhrer@meteoswiss.ch
www.meteoswiss.ch - First-hand information
  
 

> -----Original Message-----
> From: ncl-talk-bounces@ucar.edu
> [mailto:ncl-talk-bounces@ucar.edu] On Behalf Of Estefanía Jiménez
> Sent: Freitag, 26. August 2011 16:26
> To: ncl-talk@ucar.edu
> Subject: open NetCDF file
>
> Hi! Would anyone please tell me how to open a netCDF file
> with the NCL??
>
>
> --
>
>
> Estefanía Jiménez R.
>
> Meteoróloga
>
> Departamento de Climatología e Investigaciones Aplicadas
>
> Instituto Meteorológico Nacional
>
> MINAET
>
> Tel: +506 2222 5616 ext 136
>
>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Aug 26 08:33:07 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 29 2011 - 21:44:22 MDT