Error: scalar_field: If the input data is 1-dimensional ...

From: Vanúcia Schumacher <vanucia-schumacher_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 20 2014 - 12:47:20 MDT

Hi users,
I am trying to run my script with satellite data, and the following error=
 appears:

Error: scalar_field: If the input data is 1-dimensional, you must set sfX=
Array and sfYArray to 1-dimensional arrays of the same length.warning:creat=
e: Bad HLU id passed to create, ignoring itwarning:ContourPlotSetValues: =
Data values out of range of levels set by MANUALLEVELS mode
my code:
fils = systemfunc("ls *.nc") f = addfiles(fils, "r") =
          ListSetType(f,"join") t =short2flt(f[:]->bsst)printVarS=
ummary(t)tsm = t - 273.15copy_VarCoords(t, tsm)
t!0="lat"t!1="lon"t&lat=f[0]->latt&lon=f[0]->lont&lat@units="degr=
ees_north"t&lon@units="degrees_east"
media= dim_avg_n_Wrap(tsm, 0)
.....
  res@gsnPolar = "SH" ; specify the hemispher=
eplot = gsn_csm_contour_map_polar(wks,media,res)end
Variable: tType: floatTotal Size: 134217728 bytes 33554432 value=
sNumber of Dimensions: 2Dimensions and sizes: [lat | 4096] x [lon | 8192]Co=
ordinates: Number Of Attributes: 28 _FillValue : 1e+20 bsst.dsp_PixelType=
 : 1 bsst.dsp_PixelSize : 2 bsst.dsp_Flag : 0 bsst.dsp_nBits : 16 bsst.=
dsp_LineSize : 0 bsst.dsp_cal_name : Temperature bsst.units : Temp bsst.=
dsp_cal_eqnNumber : 2 bsst.dsp_cal_CoeffsLength : 8 bsst.dsp_cal_coeffs :=
        ( 0.075, -3 ) bsst.scale_factor : 0.075 bsst.add_off : -3 dsp_PixelTy=
pe : 1 dsp_PixelSize : 2 dsp_Flag : 0 dsp_nBits : 16 dsp_LineSize : 0 =
dsp_cal_name : Temperature units : Temp dsp_cal_eqnNumber : 2 dsp_cal_Co=
effsLength : 8 dsp_cal_coeffs : ( 0.075, -3 ) add_off : -3 dim_0.name =
: lat dim_0.long_name : latitude dim_1.name : lon dim_1.long_name : long=
itude
                                               =


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


Received on Fri Jun 20 06:47:28 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT