Method: CodeRunner::Gryfx#get_completed_timesteps
- Defined in:
- lib/gryfxcrmod/gryfx.rb
#get_completed_timesteps ⇒ Object
124 125 126 127 128 129 130 |
# File 'lib/gryfxcrmod/gryfx.rb', line 124 def get_completed_timesteps if FileTest.exist?(@run_name + '.cdf') @completed_timesteps = netcdf_file.var('t').get.size #gsl_vector('t').size else @completed_timesteps = 0 end end |