[ncl-talk] problem with ESFM mapping

Dennis Shea shea at ucar.edu
Wed Jul 25 19:19:09 MDT 2018


Hi Michele,

I just ran the example on my MAC with no problems using 6.5.0 and had *no
problem*.

THX for including the output from your mchine (appended at the end of this
email.)
Perhaps there is a setup issue. Unfortunately, I am not knowledgeable
enough about
these types of thing. Hopefully, someone will chime in.

%> ncl ESMF_regrid_1.ncl

-rw-r--r--  1 shea  2200     6840 Jul 25 20:56 ESMF_regrid_1.ncl
<http://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl>
-rw-r--r--  1 shea  2200    50104 Jul 25 20:58 *sst.nc <http://sst.nc>*
-rw-r--r--  1 shea  2200   973768 Jul 25 21:00 source_grid_file.nc
-rw-r--r--  1 shea  2200   151908 Jul 25 21:00 destination_grid_file.nc
-rw-r--r--  1 shea  2200      231 Jul 25 21:00 PET0.RegridWeightGen.Log
-rw-r--r--  1 shea  2200  1644652 Jul 25 21:00 NCEP_2_Rect.nc
-rw-r--r--  1 shea  2200     9424 Jul 25 21:00 *sst_regrid.nc
<http://sst_regrid.nc>*
-rw-r--r--  1 shea  2200   215451 Jul 25 21:00

*ESMF_regrid.png*


*I am attaching to output from*
%> ncdump -h sst.nc  >! out.ncdump_sst.txt

and the *ESMF_regrid..png   *file

Your MAC:

laptop-petrini:Downloads michele$ uname -a
Darwin Micheles-MacBook-Pro.local 17.5.0 Darwin Kernel Version 17.5.0: Mon
Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64

Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.25.5)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin


My MAC:

%> uname -a
Darwin sherkin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT
2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

%> gcc --version
gcc (GCC) 6.2.0




On Wed, Jul 25, 2018 at 7:45 AM, Michele Petrini - CITG <
M.Petrini at tudelft.nl> wrote:

> Dear ncl helpdesk,
>
> I am trying to remap ocean data from a global rectlinear grid to the CISM
> Greenland grid using ncl.
>
> As a fist step, I am trying to run ESMF_regrid_1.ncl
> <https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl> from htt
> ps://www.ncl.ucar.edu/Applications/ESMF.shtml.
>
> I get the following error
>
> sh: line 1: 33907 Abort trap: 6           ESMF_RegridWeightGen --help >
> /dev/null 2>&1
> (0) ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen
> executable.
>
> and I don’t understand why.
>
> I am trying to run the script using ncl version 6.5.0 (installed gcc-8) -
> but I had same problem with older ncl version (for which I had to load di
> ESFM_regrid module).
>
> What I am doing wrong?
>
> thanks,
> M
>
> ******************************************************************
> Michele Petrini, PhD
>
> Department of Geoscience and Remote Sensing, TUDelft
> Delft, The Netherlands
>
> M.Petrini at tudelft.nl
> +39 3398367372
> michele.petrins (Skype alias)
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180725/3d03c962/attachment.html>
-------------- next part --------------
netcdf sst {
dimensions:
	DEPTH = 1 ;
	DEPTHedges = 16 ;
	LAT = 64 ;
	LATedges = 65 ;
	LON = 181 ;
	TIME = UNLIMITED ; // (1 currently)
variables:
	double DEPTH(DEPTH) ;
		DEPTH:units = "meters" ;
		DEPTH:positive = "down" ;
		DEPTH:point_spacing = "uneven" ;
		DEPTH:edges = "DEPTHedges" ;
	double DEPTHedges(DEPTHedges) ;
		DEPTHedges:edges = " " ;
	double LAT(LAT) ;
		LAT:units = "degrees_north" ;
		LAT:point_spacing = "uneven" ;
		LAT:edges = "LATedges" ;
	double LATedges(LATedges) ;
		LATedges:edges = " " ;
	double LON(LON) ;
		LON:units = "degrees_east" ;
		LON:point_spacing = "even" ;
	float TEMP(TIME, DEPTH, LAT, LON) ;
		TEMP:missing_value = -9.99e+33f ;
		TEMP:_FillValue = -9.99e+33f ;
		TEMP:long_name = "TEMPERATURE" ;
		TEMP:history = "From ncep_sd_corrected_monthly_means" ;
		TEMP:units = "deg. C" ;
	double TIME(TIME) ;
		TIME:units = "days since 1947-12-15 00:00:00" ;
		TIME:time_origin = "15-DEC-1947:00:00:00" ;

// global attributes:
		:history = "Thu Oct 26 09:03:55 2000: ncks -d TIME,0,0 -d DEPTH,0,0 tamu.temps.nc sst.nc\n",
			"FERRET V5.00 (V500beta1.1) 25-Oct-00" ;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ESMF_regrid.png
Type: image/png
Size: 215451 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180725/3d03c962/attachment.png>


More information about the ncl-talk mailing list