[Thread Prev][Thread Next][Index]

Re: [ferret_users] Re: Save the time dimension data

Dear Atul,

In order to append two files, you need to have a record dimension, which is generally the time axis. So, the easiest option to append two files is through time axis and not the depth axis. (However, it is possible to do other way, in such case you need to convert the depth axis as record dimension; see NCO commands for this)

Here, is an example to append a variable over its time axis:

sp rm -rf outfile.nc
repeat/l=1:73 (save/file=outfile.nc/ap uvel)

Hope it may help,


Abhisek Chatterjee, PhD

Information Services and Ocean Sciences Group (ISG),
Indian National Centre for Ocean Information Services (INCOIS),
Ministry of Earth Sciences, Government of India,
"Ocean Valley",
Pragathi Nagar (BO), Nizampet (SO)

Phone no. (office) +91-4023886076 (Office Hours: 9 am-5:30 pm IST)
               (mobile) +91-8121277495
Fax: +91-40-23892910

On Wed, Aug 16, 2017 at 3:15 PM, Atul Srivastava <atul.ecc@xxxxxxxxx> wrote:
I am using this command to save my data files bit still this error is showing now.

repeat/L=1:73 Let temp1=L;(repeat/K=1:40 Let temp2=K; save/append/file=test.nc UVEL[x=40E:110E,y=20S:30N,K=temp2,L=temp1])

 **ERROR: command syntax: TEMP2
LIST/FORMAT=CDF/append/file=test.nc UVEL[K=temp2,L=temp1]
Command file, command group, or REPEAT execution aborted

On Wed, Aug 16, 2017 at 1:44 PM, Atul Srivastava <atul.ecc@xxxxxxxxx> wrote:
Dear ferret users I have 361*292*75*73 data I want to save it after set my region let say 


I am trying to save it with the following commands but I am not able to save my data please tell me how I can save this data sets in a single nc file

ave/l=1:20/FILE=at.nc uvels
save/l=21:40/FILE=at.nc/append uvels
save/l=21:50/FILE=at.nc/append uvels
save/l=51:73/FILE=at.nc/append uvels

I got this error 

**ERROR in external function: Segmentation Violation
 **ERROR: error in external function

please tell me how I can save my data.

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

Privacy Policy | Disclaimer | Accessibility Statement