Sorry for the Mistake.
Here is the PrintVarSummary and Min and Max and output of the file
Specific humidity: min=0 max=0
Variable: SH
Type: float
Total Size: 3968000000 bytes
992000000 values
Number of Dimensions: 4
Dimensions and sizes: [initial_time0_hours | 31] x [lv_ISBL1 | 25] x
[g4_lat_2 | 800] x [g4_lon_3 | 1600]
Coordinates:
initial_time0_hours: [1827654..1828374]
lv_ISBL1: [1..1000]
g4_lat_2: [89.82787..-89.82787]
g4_lon_3: [ 0..359.775]
Number Of Attributes: 10
forecast_time_units : hours
forecast_time : 0
parameter_number : 133
parameter_table_version : 128
gds_grid_type : 4
level_indicator : 100
_FillValue : 1e+20
units : kg kg**-1
long_name : Specific humidity
center : European Center for Medium-Range Weather Forecasts (RSMC)
warning:ContourPlotInitialize: scalar field is constant; ContourPlot not
possible:[errno=1102]
You should include the output from 'printVarSummary(...)'
> also, your min and max
>
> SH=f1->Q_GDS4_ISBL
> printVarSummary(SH)
> print("min(SH)="+min(SH)+" max(SH)="+max(SH))
>
> SHAvg=dim_avg_n_Wrap(SH(:,1,:,:),0)
> printVarSummary(SHAvg)
> printMinMax(SH,0)
>
> ===
> Initially, I would suggest that you comment out
>
> ;res@cnLevelSelectionMode = "ManualLevels"
> ;res@cnMinLevelValF = 0
> ;res@cnMaxLevelValF =0.05
> ;res@cnLevelSpacingF = 0.015
> res@cnLinesOn=True
>
> ;res@lbLabelStride = 4
> res@lbLabelAutoStride = True
>
>
> ===
> So ... reply to your own original post and say
> that you forgot tho include some information.
> Then send the print output from the above.
>
> **Please do *not* include me in the email.
> **Please do *not* address me in the reply.
>
> Cheers
>
>
>
>
>
> On 11/22/11 10:52 PM, manaswini sreekar wrote:
>
>>
>>
>> Hi
>>
>> Is there anyone who can help me with this error?
>>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not
>> possible:[errno=1102].
>>
>> The details are
>>
>> date range july1st2008-july31st 2008
>>
>> levels :all
>>
>> parameter specifichumidity
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
-- manu
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 22 23:23:57 2011
This archive was generated by hypermail 2.1.8 : Wed Nov 23 2011 - 16:46:19 MST