[Thread Prev][Thread Next][Index]

Re: [ferret_users] Extracting wrf variables for specifc times



ok Ryo
thanks for your answer
what I mean is wrf model output has about 38variables. But because of space I only want to have varibales that will be useful for me thus the term "extract". For example out of the 38variables, I only need rainfall, Temp, winds etc

How Do I handle memory issue; Even when I set  Mwords>256
save/APPEND/file=outputfile.nc  t2, rainc, v10, hgt
 **ERROR: request exceeds memory setting: 18 Mwords were requested.
 *** NOTE: You can use SET MEMORY/SIZE=xxx to increase memory.
 *** NOTE: The "Memory use" section of the FERRET Users Guide has further tips.

On Sun, Dec 6, 2015 at 10:47 PM, Ryo Furue <furue@xxxxxxxxxx> wrote:
> 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" .

Ryo


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

Privacy Policy | Disclaimer | Accessibility Statement