[Thread Prev][Thread Next][Index]

Re: [ferret_users] Extracting wrf variables for specifc times



ok Ryo
I will check on it;
I have found another problem
my data is overlapping . for example the first file
wrfout_d01_1997-02-01_06:00:00 has the following timestep
"1997-04-14_21:00:00",
  "1997-04-15_00:00:00",
  "1997-04-15_03:00:00",
  "1997-04-15_06:00:00",
  "1997-04-15_09:00:00",
  "1997-04-15_12:00:00",
  "1997-04-15_15:00:00",
  "1997-04-15_18:00:00",
  "1997-04-15_21:00:00" ;
the last timestep is "1997-04-15_21:00:00"
its expected that the first timestemp in second file wrfout_d01_1997-04-12_09:00:00
should begin at   "1997-04-16_00:00:00" ; since the data was being outputted at 3hourly interval.
But the second file actually begins at "1997-04-12_18:00:00",
  "1997-04-12_21:00:00",
  "1997-04-13_00:00:00",
  "1997-04-13_03:00:00",
  "1997-04-13_06:00:00",
  "1997-04-13_09:00:00",
  "1997-04-13_12:00:00",
  "1997-04-13_15:00:00",
  "1997-04-13_18:00:00",
  "1997-04-13_21:00:00",
  "1997-04-14_00:00:00",
  "1997-04-14_03:00:00",
  "1997-04-14_06:00:00",
  "1997-04-14_09:00:00",
  "1997-04-14_12:00:00",
  "1997-04-14_15:00:00",
  "1997-04-14_18:00:00",
  "1997-04-14_21:00:00",
  "1997-04-15_00:00:00",
  "1997-04-15_03:00:00",
  "1997-04-15_06:00:00",
  "1997-04-15_09:00:00",
  "1997-04-15_12:00:00",
  "1997-04-15_15:00:00",
  "1997-04-15_18:00:00",
  "1997-04-15_21:00:00",
  "1997-04-16_00:00:00",
  "1997-04-16_03:00:00",
  "1997-04-16_06:00:00",
  "1997-04-16_09:00:00",
  "1997-04-16_12:00:00",
  "1997-04-16_15:00:00",
  "1997-04-16_18:00:00",
  "1997-04-16_21:00:00",
  "1997-04-17_00:00:00",
  "1997-04-17_03:00:00",
  "1997-04-17_06:00:00",
  "1997-04-17_09:00:00",
  "1997-04-17_12:00:00",
  "1997-04-17_15:00:00",
  "1997-04-17_18:00:00",
  "1997-04-17_21:00:00",
  "1997-04-18_00:00:00",
  "1997-04-18_03:00:00",
  "1997-04-18_06:00:00",
  "1997-04-18_09:00:00",
  "1997-04-18_12:00:00",
  "1997-04-18_15:00:00",
  "1997-04-18_18:00:00",
  "1997-04-18_21:00:00",
  "1997-04-19_00:00:00",
  "1997-04-19_03:00:00",
  "1997-04-19_06:00:00",
  "1997-04-19_09:00:00",
  "1997-04-19_12:00:00",
  "1997-04-19_15:00:00",
  "1997-04-19_18:00:00",
  "1997-04-19_21:00:00",
  "1997-04-20_00:00:00",
  "1997-04-20_03:00:00",
  "1997-04-20_06:00:00",
  "1997-04-20_09:00:00",
  "1997-04-20_12:00:00",
  "1997-04-20_15:00:00",
  "1997-04-20_18:00:00",
  "1997-04-20_21:00:00",
  "1997-04-21_00:00:00",
  "1997-04-21_03:00:00",
  "1997-04-21_06:00:00",
  "1997-04-21_09:00:00",
  "1997-04-21_12:00:00",
  "1997-04-21_15:00:00",
  "1997-04-21_18:00:00",
  "1997-04-21_21:00:00",
  "1997-04-22_00:00:00",
  "1997-04-22_03:00:00",
  "1997-04-22_06:00:00",
  "1997-04-22_09:00:00",
  "1997-04-22_12:00:00",
  "1997-04-22_15:00:00",
  "1997-04-22_18:00:00",
  "1997-04-22_21:00:00",
  "1997-04-23_00:00:00",
  "1997-04-23_03:00:00",
  "1997-04-23_06:00:00",
  "1997-04-23_09:00:00",
  "1997-04-23_12:00:00",
  "1997-04-23_15:00:00",
  "1997-04-23_18:00:00",
  "1997-04-23_21:00:00",
  "1997-04-24_00:00:00",
  "1997-04-24_03:00:00",
  "1997-04-24_06:00:00",
  "1997-04-24_09:00:00",
  "1997-04-24_12:00:00",
  "1997-04-24_15:00:00",
  "1997-04-24_18:00:00",
  "1997-04-24_21:00:00",
  "1997-04-25_00:00:00",
  "1997-04-25_03:00:00",
  "1997-04-25_06:00:00",
  "1997-04-25_09:00:00",
  "1997-04-25_12:00:00",
  "1997-04-25_15:00:00",
  "1997-04-25_18:00:00",
  "1997-04-25_21:00:00",
  "1997-04-26_00:00:00",
  "1997-04-26_03:00:00",
  "1997-04-26_06:00:00",
  "1997-04-26_09:00:00",
  "1997-04-26_12:00:00",
  "1997-04-26_15:00:00",
  "1997-04-26_18:00:00",
  "1997-04-26_21:00:00",
  "1997-04-27_00:00:00",
  "1997-04-27_03:00:00",
  "1997-04-27_06:00:00",
  "1997-04-27_09:00:00",
  "1997-04-27_12:00:00",
  "1997-04-27_15:00:00",
  "1997-04-27_18:00:00",
  "1997-04-27_21:00:00",
  "1997-04-28_00:00:00",
  "1997-04-28_03:00:00",
  "1997-04-28_06:00:00",
  "1997-04-28_09:00:00",
  "1997-04-28_12:00:00",
  "1997-04-28_15:00:00",
  "1997-04-28_18:00:00",
  "1997-04-28_21:00:00",
  "1997-04-29_00:00:00",
  "1997-04-29_03:00:00",
  "1997-04-29_06:00:00",
  "1997-04-29_09:00:00",
  "1997-04-29_12:00:00",
  "1997-04-29_15:00:00",
  "1997-04-29_18:00:00",
  "1997-04-29_21:00:00",
  "1997-04-30_00:00:00",
  "1997-04-30_03:00:00",
  "1997-04-30_06:00:00",
  "1997-04-30_09:00:00",
  "1997-04-30_12:00:00",
  "1997-04-30_15:00:00",
  "1997-04-30_18:00:00",
  "1997-04-30_21:00:00",
  "1997-05-01_00:00:00",
  "1997-05-01_03:00:00",
  "1997-05-01_06:00:00",
  "1997-05-01_09:00:00",
  "1997-05-01_12:00:00",
  "1997-05-01_15:00:00",
  "1997-05-01_18:00:00",
  "1997-05-01_21:00:00",
  "1997-05-02_00:00:00",
  "1997-05-02_03:00:00",
  "1997-05-02_06:00:00",
  "1997-05-02_09:00:00",
  "1997-05-02_12:00:00",
  "1997-05-02_15:00:00",
  "1997-05-02_18:00:00",
  "1997-05-02_21:00:00",
  "1997-05-03_00:00:00",
  "1997-05-03_03:00:00",
  "1997-05-03_06:00:00",
  "1997-05-03_09:00:00",
  "1997-05-03_12:00:00",
  "1997-05-03_15:00:00",
  "1997-05-03_18:00:00",
  "1997-05-03_21:00:00",
  "1997-05-04_00:00:00",
  "1997-05-04_03:00:00",
  "1997-05-04_06:00:00",
  "1997-05-04_09:00:00",
  "1997-05-04_12:00:00",
  "1997-05-04_15:00:00",
  "1997-05-04_18:00:00",
  "1997-05-04_21:00:00",
  "1997-05-05_00:00:00",
  "1997-05-05_03:00:00",
  "1997-05-05_06:00:00",
  "1997-05-05_09:00:00",
  "1997-05-05_12:00:00",
  "1997-05-05_15:00:00",
  "1997-05-05_18:00:00",
  "1997-05-05_21:00:00",
  "1997-05-06_00:00:00",
  "1997-05-06_03:00:00",
  "1997-05-06_06:00:00",
  "1997-05-06_09:00:00",
  "1997-05-06_12:00:00",
  "1997-05-06_15:00:00",
  "1997-05-06_18:00:00",
  "1997-05-06_21:00:00",
  "1997-05-07_00:00:00",
  "1997-05-07_03:00:00",
  "1997-05-07_06:00:00",
  "1997-05-07_09:00:00",
  "1997-05-07_12:00:00",
  "1997-05-07_15:00:00",
  "1997-05-07_18:00:00",
 }
THis means that several timestep have been overlapped.

How Do I delete the overlapped timestep so that I only remain with consistent continuos timestep

thanks

On Mon, Dec 7, 2015 at 12:05 AM, Ryo Furue <furue@xxxxxxxxxx> wrote:
> 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.

Typically you circumvent this problem by iterating over the "last"
dimension.  For example, if your variables have the time dimension,
you would typically do this:

   spawn rm outputfile.nc  !<- delete the output file
   repeat/l=1:`v10,return=lend` ( save/append/flie=outputfile.nc  v10, . . . . )

saving one timestep at each iteration.

Use the "show grid" or "show data" command to see the dimensionalities
of your variables.

Ryo


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

Privacy Policy | Disclaimer | Accessibility Statement