ParNCLDeveloperInfo/SimpleParNCLScripts: data_slice_01.ncl

File data_slice_01.ncl, 343 bytes (added by jayesh, 5 years ago)

Subscript selection of temp, lev 0, tstep 0

Line 
1begin
2fili = systemfunc("ls eul26x48x96.t[0-2].nc")  ; 1 files     
3
4setfileoption("nc","SuppressClose",False)   ; user can tell NCL to alter default mode
5
6; Add the files
7f = addfiles(fili, "r")
8
9; Read the variable T
10t = f[:]->T
11
12; 0th level, 0th time step of T
13t_time0_lev0 = t(0,0,:,:)
14
15; Print the val to output
16print(t_time0_lev0)
17
18end