[Thread Prev][Thread Next][Index]

Re: [ferret_users] help



Thanks very much for your help



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
Tel. +82-51-629-6643
Fax+82-51-629-7991

On Fri, Sep 11, 2015 at 1:05 AM, Ansley Manke <ansley.b.manke@xxxxxxxx> wrote:
Hi George,
First a general suggestion as you are new to this  list. When you ask questions on the Ferret list, please use a subject line that describes the question.

It sounds like you have a solution for seasonal data, but here's a Ferret answer. You can define any time axis you want, and regrid to that new time axis.  A regularly-spaced seasonal axis might go like this, using time steps of a quarter of a year, listing the end points, and using the /EDGES qualifier to indicate that the dates in the time range are the edges of the grid cells, rather than the coordinate locations.

yes? define axis/t=1-jan-1980:31-dec-2009:0.25/edges/units=year season_axis
yes? let season_wind = uwind[gt=season_axis]

yes? list/x=300/y=30 season_wind

The grid points for the axis I defined will be in February, May, August,November for seasons that are 3-months long starting with Jan-Feb-March.  You could make other definitions by changing the time axis definition.

Ansley


On 9/9/2015 8:04 PM, George Otieno wrote:
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
----------------------------------------------------





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

Privacy Policy | Disclaimer | Accessibility Statement