<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Variable uwnd is type "short" which means it needs some manipulation
before it can be used normally. You can use the attributes
"scale_factor" and "add_offset" directly or just use the contributed
function <a
href="http://www.ncl.ucar.edu/Document/Functions/Contributed/short2flt.shtml">short2flt</a>
to get the format you need (i.e., "float").<br>
<br>
Note: these questions should go to <a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>, not this
list. You'll get faster (and better) responses.<br>
<br>
Cheers,<br>
Dave<br>
<br>
<div class="moz-cite-prefix">Abdoulaye SY said the following on
10/28/2014 3:00 AM:<br>
</div>
<blockquote
cite="mid:CAAzVdXcmuY1j9_41w=1CyYVn=xY82AB1+8qZyOWVX0raDLYhEw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
<br>
When i load this data with addfile function i have values like
-20591. I would know why i dont see the normal values?<br>
The description of the data is :<br>
<br>
filename: uwnd.2010<br>
path: /media/ablaye/terabouya/Data/2010/<a
moz-do-not-send="true" href="http://uwnd.2010.nc">uwnd.2010.nc</a><br>
file global attributes:<br>
Conventions : COARDS<br>
title : mean daily NMC reanalysis (2010)<br>
history : created 2009/12 by Hoop (netCDF2.3)<br>
description : Data is from NMC initialized reanalysis<br>
(4x/day). It consists of most variables interpolated to<br>
pressure surfaces from model (sigma) surfaces.<br>
platform : Model<br>
references : <a moz-do-not-send="true"
href="http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis.html">http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis.html</a><br>
dimensions:<br>
lon = 144<br>
lat = 73<br>
level = 17<br>
time = 365 // unlimited<br>
variables:<br>
float level ( level )<br>
units : millibar<br>
actual_range : ( 1000, 10 )<br>
long_name : Level<br>
positive : down<br>
GRIB_id : 100<br>
GRIB_name : hPa<br>
axis : Z<br>
<br>
float lat ( lat )<br>
units : degrees_north<br>
actual_range : ( 90, -90 )<br>
long_name : Latitude<br>
standard_name : latitude<br>
axis : Y<br>
<br>
float lon ( lon )<br>
units : degrees_east<br>
long_name : Longitude<br>
actual_range : ( 0, 357.5 )<br>
standard_name : longitude<br>
axis : X<br>
<br>
double time ( time )<br>
units : hours since 1-1-1 00:00:0.0<br>
long_name : Time<br>
actual_range : ( 17610576, 17619312 )<br>
delta_t : 0000-00-01 00:00:00<br>
avg_period : 0000-00-01 00:00:00<br>
standard_name : time<br>
axis : T<br>
<br>
short uwnd ( time, level, lat, lon )<br>
long_name : mean Daily U-wind<br>
unpacked_valid_range : ( -125, 160 )<br>
actual_range : ( -107.08, 115 )<br>
units : m/s<br>
add_offset : 202.66<br>
scale_factor : 0.01<br>
missing_value : 32766<br>
precision : 2<br>
least_significant_digit : 1<br>
GRIB_id : 33<br>
GRIB_name : UGRD<br>
var_desc : u-wind<br>
dataset : NCEP Reanalysis Daily Averages<br>
level_desc : Multiple levels<br>
statistic : Mean<br>
parent_stat : Individual Obs<br>
valid_range : ( -32766, -4266 )<br>
_FillValue : 32766<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Associate Research Professor of Climatology
Dept of Earth and Environmental Science
MSEC 304; 801 Leroy Pl
New Mexico Tech
Socorro, NM 87801
</pre>
</body>
</html>