NCL Home >
Documentation >
Language
Accessing the mass store from NCL
NCL can issue read/write commands to the MSS via the system procedure:
system("msread local_file_name /SHEA/ccm3/hist/0001-01.nc")
One could put this in a loop to bring over files one at a time and
process them:
do n = 0, nfiles-1
system("msread" + year(n)+".nc /SHEA/ccm3/hist/"+year(n)+".nc")
in = addfile(year(n)+".nc","r")
process file
end do