Hi all,
I am new to NCL. I have generated a weight file for T62
(map_T62_to_gx3_bilin_da_301310.nc)
I tried to use the following ncl script to remap to the POP but it shows
error
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/popRemap.ncl"
a = addfile("air.2m.gauss.1997.nc","r")
var = a->air
remap = PopLatLon(var,"T62","gx3","bilin","da","301310")
out=addfile("t_10.nc","c")
filedimdef(out,"time",-1,True)
out->t10=remap
I get the following error
(0)
(0) create_rmpPopFileName: ./map_T62_to_gx3_bilin_da_301310.nc
fatal:pop_remap: dst_array must be of type float or double
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 462 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/popRemap.ncl
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 642 in
file $NCAT
Thanks and Regards
Nandu
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 30 11:48:25 2013
This archive was generated by hypermail 2.1.8 : Fri Nov 01 2013 - 08:58:14 MDT