Changes between Initial Version and Version 1 of ParNCLDeveloperInfo/TestingParNCL


Ignore:
Timestamp:
08/31/12 14:42:07 (7 years ago)
Author:
jayesh
Comment:

Some info on testing ParNCL

Legend:

Unmodified
Added
Removed
Modified
  • ParNCLDeveloperInfo/TestingParNCL

    v1 v1  
     1= Testing ParNCL = 
     2 You can test ParNCL by using a simple script provided below. The data files used in the script are available with the ParGAL source ({{{<PARGAL_SRC_DIR>/GridFiles/CAM/EulSpec/datasets/eul26x48x96.t[0-2].nc}}}) 
     3 
     4{{{ 
     5begin 
     6fili = systemfunc("ls eul26x48x96.t[0-2].nc")  ; 3 files 
     7 
     8setfileoption("nc","SuppressClose",False)   ; alter default mode 
     9 
     10f = addfiles(fili, "r") ; add the files 
     11 
     12t = f[:]->T ; read temp 
     13 
     14t_avg = dim_avg_n(t, 0) ; calc dim_avg 
     15 
     16print(t_avg) ; print result 
     17 
     18end 
     19}}} 
     20 
     21 For correctness you can compare the result manually with output from the serial version of NCL.