CESM-Development / cime

Common Infrastructure for Modeling the Earth
Other
16 stars 13 forks source link

Bug in AMWG diags: significance coder #487

Closed cecilehannay closed 7 years ago

cecilehannay commented 7 years ago

Hi there -

I'm trying to run the AMWG, but it's dying when I turn on significance.

CODE_BASE -- /glade/p/cesm/amwg/amwg_diagnostics

Error: -- fatal:Undefined identifier: (get_PRECC_VARIANCE) is undefined, can't continue

Problem: so I started poking around and it looks like the version of plot_surfaces_cons.ncl in SVN is different from the one on glade, which has these extra lines of code:

if (vars(i) .eq. "PRECC") then A = get_PRECC (inptr1,outptr1) if (sig_plot .eq. "True") then A_var = get_PRECC_VARIANCE (meansptr1,varptr1) end if end if

if (vars(i) .eq. "PRECL") then A = get_PRECL (inptr1,outptr1) if (sig_plot .eq. "True") then A_var = get_PRECL_VARIANCE (meansptr1,varptr1) end if end if

The problem is that funcs_surf_variance.ncl doesn't have a matching get_PRECC_VARIANCE function call.

Solution: I guess either funcs_surf_variance.ncl needs a function call, OR these lines need to be removed from plot_surfaces_cons.ncl.

Thanks! (p.s., This is the problem file:)

-- /glade/p/cesm/amwg/amwg_diagnostics/code/plot_surfaces_cons.ncl

gold2718 commented 7 years ago

@cecilehannay, This code is not in this repository, it is in NCAR/CESM_postprocessing. Please move this issue (and related issues) there so that issue number tracking works correctly.

bertinia commented 7 years ago

This issue was moved to NCAR/CESM_postprocessing#77