NCAR / CESM_postprocessing

Project repository for the CESM python based post-processing code, documentation and issues tracking.
77 stars 45 forks source link

Problem found in lnd diags using paleo coastlines and file path length in NCL #140

Closed bertinia closed 6 years ago

bertinia commented 6 years ago

Running the lnd diags with paleo data returned this error:

SVBLED - FAILED TO OPEN LINE DATA FILE

@olyson isolated the error to this NCL call:

paleo_outline(oro,lat1,lon1,flandmask, fname )

haley@ucar.edu found a problem in the allowed fname length limitation to 128 characters in the underlying fortran routine.

A quick fix was applied to the NCL nightly build and tested successfully on cheyenne using a lnd_diagnostics submission script and adding:

export NCARG_ROOT=/glade/u/apps/contrib/ncl-nightly/intel/17.0.1 export PATH=$NCARG_ROOT/bin:$PATH

in place of:

module load NCL/6.4.0

We will keep the default settings for now in the postprocessing code master rather than switching to the NCL nightly build and will plan to update to a new NCL bug fix release when it becomes available.