[Fwd: FW: changing netCDF dimension data]

From: <gs416492_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 30 2011 - 20:12:32 MDT

Hello,

I am working on a script that adds a time dimension to a netCDF file. I am
also trying to enter values for the new dimension. How do I do that?

here's the script I'm working on:
-----------------------------------------------

begin

do i = 0, 16, 1
file_ext = sprinti("%0.3i",i*3)
f = addfile("WRFPRS_d01."+file_ext+".nc", "w")
filedimdef(f,(/"time"/),(/16/),(/True/))
f->time(i) = i*3

end do

end
--------------------------------------------------

-Gabriel Susca-Lopata
Graduate Assistant
Tropical Meteorology Group
Dept. of Atmospheric Sciences
University of Utah
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 30 20:13:09 2011

This archive was generated by hypermail 2.1.8 : Tue Jul 12 2011 - 15:03:53 MDT