[Thread Prev][Thread Next][Index]

Re: [ferret_users] Extracting wrf variables for specifc times

> For example an output file like this wrfout_d01_1982-02-01_00:00:00 has
> timestep from 1982-02-01 to 1982-05-15-00.
> That means the file contain feb, march, april and may data for 38variables.
> Now what I want is extract only 6 varibales for timestep march, april, may.
> And do the same for October-Nov-Dec for all the many files I have.

It's not clear what you mean by "extract", but is this what you want
to accomplish?

   set data somefile.nc  !-> contains 38 variables.
   save/APPEND/file=outputfile.nc  var1, var2, var3, var4, var5, var6

   . . . do the same for another file . . .

The above saves six variables var1, var2, . . . , var6 contained in
"somefile.nc" into a new file "outputfile.nc" .


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement