Re: problem with dimensions but type "foundation"

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 19 Mar 2009 12:01:01 -0600

Without seeing readsst.ncl, I can only speculate.

The sst is of type "short". Did you 'unpack' the variable before
using it???

    load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
    f = addfile (....)
    sst = short2flt( f->sst )
    printVarSummary(sst0

Jin-Young Kim wrote:
> hello
>
> i would like to read and compute ghrsst
> from http://ghrsst.jpl.nasa.gov/mmr_search/popup.php?command=show_related_urls&fr_id=1477076&filename=20090318-NCDC-L4LRblend-GLOB-v01-fv02_0-AVHRR_OI.nc
> <http://ghrsst.jpl.nasa.gov/mmr_search/popup.php?command=show_related_urls&fr_id=1477076&filename=20090318-NCDC-L4LRblend-GLOB-v01-fv02_0-AVHRR_OI.nc>
>
> but there is error to compute it
>
> Variable: sst
> Type: short
> Total Size: 2073600 bytes
> 1036800 values
> Number of Dimensions: 2
> Dimensions and sizes: [lat | 720] x [lon | 1440]
> Coordinates:
> lat: [-89.875..89.875]
> lon: [-179.875..179.875]
> Number Of Attributes: 10
> time : 741312000
> long_name : analysed sea surface temperature
> standard_name : sea_surface_temperature
> type : foundation
> units : kelvin
> _FillValue : -32768
> add_offset : 273.15
> scale_factor : 0.01
> valid_min : -300
> valid_max : 4500
> fatal:Assignment type mismatch, right hand side can't be coerced to
> type of left hand side
> fatal:Execute: Error occurred at or near line 39 in file readsst.ncl
>
> Would anybody know this problem?
>
> Best regards,
> Jin-Young Kim

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 19 2009 - 12:01:01 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 20 2009 - 10:31:52 MDT