[ncl-talk] warning:cnConstFEnableFill to enable fill
Kunal Bali
kunal.bali9 at gmail.com
Wed Feb 21 04:23:23 MST 2018
Dear NCL users,
I am trying to calculate the coefficient of divergence using the attached
script. The script is running successfully but I am getting only one value
i.e. 1 as a minimum and maximum value which should come in between 0 to 1.
And because of that I am also receiving the warning such as
warning:ContourPlotInitialize: scalar field is constant; no contour lines
will appear; use cnConstFEnableFill to enable fill
if I set
res at cnConstFEnableFill = True
then the whole field is drawn in a single color as expected it will give
only one color.
Regarding data
The data is in different 5 grid structure covering different Indian region
so I merged them and got one single file which cover whole Indian region
and then runs the attached script.
Before merging the data, I used the same script for different grid
structures separately and it was giving the correct values between 0 to 1.
But this time I am getting only one value.
So could anyone please provide some information on that.
*Copyright (C) 1995-2017 - All Rights Reserved University Corporation for
Atmospheric Research NCAR Command Language Version 6.4.0 The use of this
software is governed by a License Agreement. See http://www.ncl.ucar.edu/
<http://www.ncl.ucar.edu/> for more details.Variable: totcType: doubleTotal
Size: 4050173952 bytes 506271744 valuesNumber of Dimensions:
3Dimensions and sizes: [time | 96] x [lat | 2112] x [lon |
2497]Coordinates: time:
[35430.125..104813.7916666667] lat:
[5.0078125..37.9921875] lon: [ 59.. 98]Number Of Attributes:
6 _FillValue : -28672 long_name : AOT at 0.55 micron hdfeos_name
: Optical_Depth_055 projection : Albers Conical Equal_Area unit
: None missing_value : -28672Variable: totcType: doubleTotal Size:
4050173952 bytes 506271744 valuesNumber of Dimensions:
3Dimensions and sizes: [time | 96] x [lat | 2112] x [lon |
2497]Coordinates: time:
[35430.125..104813.7916666667] lat:
[5.0078125..37.9921875] lon: [ 59.. 98]Number Of Attributes:
6 _FillValue : -28672 long_name : AOT at 0.55 micron hdfeos_name
: Optical_Depth_055 projection : Albers Conical Equal_Area unit
: None missing_value : -28672Variable: data_subsetType: doubleTotal
Size: 295196160 bytes 36899520 valuesNumber of Dimensions:
3Dimensions and sizes: [time | 96] x [lat | 646] x [lon |
595]Coordinates: time:
[35430.125..104813.7916666667] lat:
[29.5234375..19.4453125] lon: [91.390625..82.109375]Number Of
Attributes: 6 missing_value : -28672 unit : None projection :
Albers Conical Equal_Area hdfeos_name : Optical_Depth_055 long_name
: AOT at 0.55 micron _FillValue : -28672(0) nearest location:
k=0 n=481 m=882 156.836 5297.11(0) -----(0) -----Variable:
CoD1Type: doubleTotal Size: 295196160 bytes 36899520
valuesNumber of Dimensions: 3Dimensions and sizes: [96] x [646] x
[595]Coordinates: Number Of Attributes: 1 _FillValue : -28672(0)
min=1 max=1(0) ---Variable: CoD2Type: doubleTotal Size: 3074960
bytes 384370 valuesNumber of Dimensions: 2Dimensions and
sizes: [646] x [595]Coordinates: Number Of Attributes: 3 long_name :
Coef of Divergence _FillValue : -28672 average_op_ncl : dim_avg_n
function was applied(0) Coef of Divergence : min=1 max=1Variable:
CoD_finalType: doubleTotal Size: 3074960 bytes 384370
valuesNumber of Dimensions: 2Dimensions and sizes: [646] x
[595]Coordinates: Number Of Attributes: 1 _FillValue : -28672(0)
min=1 max=1warning:ContourPlotInitialize: scalar field is constant; no
contour lines will appear; use cnConstFEnableFill to enable fill*
---
Kunal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180221/465c6cce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cod.ncl
Type: application/octet-stream
Size: 7222 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180221/465c6cce/attachment.obj>
More information about the ncl-talk
mailing list