Hi Saurabh, Paulo and Martin,
Thanks so much for your help, I could save it without any problems using that command.
Kind regards,
Estanisalo
From: saurabh rathore <rohitsrb2020@xxxxxxxxx>
Sent: 12 December 2016 21:57:26
To: Paulo B. Oliveira
Cc: Estanislao Gavilan Pascual-Ahuir (PGR); Ferret pmel
Subject: Re: [ferret_users] heavy filesHi Estanislao,
Paulo is correct but use can add few more thing in this command like time step size and memory size.
repeat/l=2191:4380:1 ( save/append/file=normal.nc sossheig; set mem/size = 1000 )
l=2191:4380:1 (here one is the time step size) and 1000 is the memory size (adjustable)
it will free your memory at every step to make a faster process. you can adjust the memory size according the configuration of your machine i.e. whether it will go above 1000 or it has lower then 1000.
please mail us back if you have any problem for this.
regards, saurabh
On Tue, Dec 13, 2016 at 5:05 AM, Paulo B. Oliveira <pboliveira@xxxxxxx> wrote:
Estanislao,
Use a repeat loop and save/append... eg:
repeat/l=2191:4380 ( save/append/file=normal.nc sossheig )
You also might want to control if the data is to be saved in single or double precision ( http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide )/commands-reference/SET#_VPIND EXENTRY_setlist_outtype
Cheers,
Paulo
--------------------
On Mon, 2016-12-12 at 17:20 +0000, Estanislao Gavilan Pascual-Ahuir (PGR) wrote:Dear Community,
I have I heavy nc file (5.3 GB) where I want to select an interval and save in a new nc file in order to make it lighter. But It excess the memory setting. I have tried to adjust the memory but it is never enough. I am using this command.
SAVE/FILE=normal.nc/L=2191:4380 sossheig
Is there any alternative way to save this file or avoid this error?
Thanks so much for your time.
Kind regards,
Estanislao
--
REGARDS
Saurabh RathoreResearch Scholar (PhD.)Centre For Oceans, Rivers, Atmosphere & Land Science TechnologyIndian Institute Of Technology, Kharagpurcontact :- 91- 8345984434