[Thread Prev][Thread Next][Index]

Re: [ferret_users] help



I am not sure how to separate directly the seasons in ferret, if you have many years of data.
You may use a loop and mask each year all months except the ones of a specific season, but I would suggest to first use CDO to create seasonal files :  

cdo splitseas GPCC.nc GPCC-

It will create 4 files (GPCC-JJA.nc, GPCC-SON.nc .......) each one containing the months of a given season, during all years.
Then you can use each season file with ferret, and if you want to average all months just use "L=@ave".

use GPCC-JJA.nc
Fill precip[L=@ave]

Best,
Nicolas


2015-09-10 11:04 GMT+08:00 George Otieno <gotieno@xxxxxxxxx>:
Hi nicholas
I want to average data for 30 years season by season



Best Regards
George Otieno

Intergrated Climate System Modelling Lab.
Department of Environmental Atmospheric Sciences
608-737, Room 4302, Chungmu-Building
Pukyong National University,
45,Yongso-ro,Nam-gu, Busan, South Korea

On Thu, Sep 10, 2015 at 12:02 PM, George Otieno <gotieno@xxxxxxxxx> wrote:
Thanks Nicholas
atleast first step the plot appears month by month



Best Regards
George Otieno

Intergrated Climate System Modelling Lab.
Department of Environmental Atmospheric Sciences
608-737, Room 4302, Chungmu-Building
Pukyong National University,
45,Yongso-ro,Nam-gu, Busan, South Korea

On Thu, Sep 10, 2015 at 11:33 AM, Nicolas Freychet <nicolas.freychet@xxxxxxxxx> wrote:
Hi George,

The error you get comes from the fact you try to plot a 3D variable into a 2D plot (and it tells you it doesnt have enough memory to read all at once). You need to fix or specify one of the direction at least.
For instance, if you want to plot the first day of your precipitation field, you should add "L=1" in the fill command:

fill/L=1 PRECIP

You can also average all the days if you prefer to fill the mean precipitation (L=@ave) fix I or J direction of course.

Best;
Nicolas




2015-09-10 10:08 GMT+08:00 George Otieno <gotieno@xxxxxxxxx>:

Dear All,
Ferret version v6.93 is installed in my machine. When I try to plot data, a white empty space appears and  I get the error below...
This could memory issue. I have tried fixing but I cant.
My machine is 64bit OS,and ubuntu version 14.04. I have installed SPM and using both vim and gedit text editors.
yes? use GPCC.nc
 *** NOTE: Axis coordinates are decreasing-ordered. Reversing ordering for axis lat
yes? use GPCC.nc
yes? show data
     currently SET data sets:
    1> ./GPCC.nc  (default)
 name     title                             I         J         K         L         M         N
 PRECIP   GPCC Monthly total of precipita  1:720     1:360     ...       1:1320    ...       ...
 
yes? fill PRECIP
 **ERROR: request exceeds memory setting: 342 Mwords were requested.
 *** NOTE: You can use SET MEMORY/SIZE=xxx to increayes? set data GPCC.nc

 *** NOTE: The "Memory use" section of the FERRET Users Guide has further tips.

In some other cases when set to feret i get the following errors
 **TMAP ERR: non-existent or not on line
             /opt/Ferret/V693/data:/opt/Ferret/V693/go:/opt/Ferret/V693/examples:/opt/Ferret/V693:contrib/GPCC.nc
se memory.



thank you

Best Regards
George Otieno

Intergrated Climate System Modelling Lab.
Department of Environmental Atmospheric Sciences
608-737, Room 4302, Chungmu-Building
Pukyong National University,
45,Yongso-ro,Nam-gu, Busan, South Korea



--
----------------------------------------------------
Nicolas Freychet
Postdoc Reseach Fellow at RCEC
Academia Sinica
----------------------------------------------------





--
----------------------------------------------------
Nicolas Freychet
Postdoc Reseach Fellow at RCEC
Academia Sinica
----------------------------------------------------

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

Privacy Policy | Disclaimer | Accessibility Statement