Hi Ryo, Why don't you load the files in as an ensemble directly rather than individually? There's no real need to merge the files but the following should work. let tmp=i[i=1:2] save/file=tmp1.nc/clob tmp save/file=tmp2.nc/clob tmp can var/all ! load all ensemble members at once let myfiles = spawn("ls -1 tmp?.nc") ensemble tmp_all = myfiles save/mlimits=1:2/clob/file=tmp_ensemble.nc/m=1 tmp ! This works for me. All members are defined. save/app/file=tmp_ensemble.nc/m=2 tmp can data/all use tmp_ensemble.nc list tmp VARIABLE : I[I=1:2] FILENAME : tmp_ensemble.nc SUBSET : 2 by 2 points (X-E (realization)) 1 2 1 2 1 / 1: 1.000 2.000 2 / 2: 1.000 2.000 Cheers, Russ On 29/04/18 00:01, Ryo Furue wrote:
|