Method: NumRu::VArrayNetCDF#val

Defined in:
lib/numru/gphys/varraynetcdf.rb

#valObject

< redefined instance methods > ##



256
257
258
259
260
261
262
263
264
265
266
267
# File 'lib/numru/gphys/varraynetcdf.rb', line 256

def val
   begin
     mode_switched = @ary.file.enddef
   rescue
   end
	 v = @ary.get
   begin
     if mode_switched; @ary.file.redef; end
   rescue
   end
	 v
end