[ncl-talk] Reading a large netcdf file

Tomoko Koyama Tomoko.Koyama at Colorado.EDU
Sun Dec 17 23:17:53 MST 2017


I’d like to extract some data from a large netcdf file, which size is about 9GB.

The following shows the partial script, but a submitted job was killed before “Data is stored” message appeared.
(I attempted several times with 3-hr max walltime )

 setfileoption("nc", "FileStructure", "Advanced")
 fdir=“/root/dir4ncl/“
 fili="tas_day_IPSL-CM5A-LR_rcp85_r1i1p1_20060101-22051231.rgrd.nc"
 fn=addfile(fdir+fili,"r")
 setfileoption("nc","Format","NetCDF4Classic")
 buff=fn->tas
 print(“Data is stored”)

Does it simply take a long time to read?
Is there anyway to speed up to read a large netcdf file?


Thank you,
Tomoko


More information about the ncl-talk mailing list