Hi, On 8/16/2017 2:45 AM, Atul Srivastava
wrote:
I have 3 comments: 1) For the operation you describe, why not just save it all at once? save/clobber/file=test.nc UVEL[x=40E:110E,y=20S:30N,K=1:40,L=1:73]) If you are seeing a memory error, try raising the limit with SET MEMORY, or try writing the full xyz range with each save, appending in L only.2) If you do need to append in directions other than T, it needs
more setup than this. You first need to define the file with the
full range in Z (or X, Y, any dimension other than T), and then
you can append using /KLIMITS. This is described here: Note how the first SAVE command lists the full K range, and then
subsequent K levels are saved with /K=2, /K=3, etc. yes? SAVE/FILE=uv1_5z.cdf/KLIMITS=1:5/K=1 u1, v1 ... yes? SAVE/FILE=uv1_5z.cdf/K=2/APPEND u1,v13) The error message you are seeing is actually a syntax error, where you are trying to specify the index. The region must be specified with scalar numbers, not variables Try this example: yes? use coads_climatology yes? repeat/L=1:7 Let temp1=`L`;(save/append/file=test.nc SST[x=40E:110E,y=20S:30N,L=`temp1`])
|