[ncl-talk] issue with gsn_csm_xy
Laura Fowler
laura at ucar.edu
Thu Jun 29 14:49:40 MDT 2023
Hello:
I am totally baffled about the error message I get when using the function
gsn_csm_xy (see error below).
fatal:Argument type mismatch on argument (3) of (gsn_csm_xy) can not coerce
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 263 in
file var3_profile.ncl
Here are the few lines that are causing me trouble:
hres = True
qco_area_avg!0 = "nFixed"
qco_area_avg&nFixed = zFixed
printVarSummary(qco_area_avg)
wks = gsn_open_wks("png","test_mpas")
plot = gsn_csm_xy(wks,qco_area_avg&nFixed,qco_area_avg,hres)
The output from these few lines are:
Variable: qco_area_avg
Type: float
Total Size: 280 bytes
70 values
Number of Dimensions: 1
Dimensions and sizes: [nFixed | 70]
Coordinates:
nFixed: [8000..14900]
Number Of Attributes: 2
_FillValue : 9.96921e+36
average_op_ncl : dim_avg_n over dimension(s): nLoc
I do not understand where the mismatch between plot and argument (3), i.e.
qco_area_avg comes from?
Thanks for your help,
Laura
--
!-------------------------------------------------------------------------------------------------------------
Laura D. Fowler
Mesoscale and Microscale Meteorology Division (MMM)
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000
e-mail: laura at ucar.edu
phone: 303-497-1628
!-------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230629/83a7255d/attachment.htm>
More information about the ncl-talk
mailing list