[ncl-talk] ncl 6.4 contibuted.ncl beta

Sheng-Hung Wang wang.446 at osu.edu
Thu Sep 22 10:45:55 MDT 2016


Hi there

I am testing some of new features in 6.4 using contributed.ncl_beta_640 
file.

I think both calculate_monthly_values and calculate_daily_values are not 
functioning properly.
Both functions are using full count for each month and day regard there 
are missing data.

For example

L17114
nit = dimsizes(it)
if (.not.ismissing(it(0)) .and. nit.ge.nval_crit) then

Shoul be something like
nit = dimsizes(it)
nit_no = dim_num_n(.not.ismissing(x(it)),0)
if (.not.ismissing(it(0)) .and. nit_no.ge.nval_crit) then

Am I wrong?

Thanks

Sheng-Hung

-- 
========================================
  Sheng-Hung Wang, PhD
  Polar Meteorology Group
  Byrd Polar and Climate Research Center
  The Ohio State University
  1090 Carmack Road, Columbus, Ohio 43210
  Phone: (614) 292-1060
  Fax:   (614) 292-4697
  email: wang.446 at osu.edu
========================================



More information about the ncl-talk mailing list