<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
Hi all,
<div class=""><br class="">
</div>
<div class="">I would like use the function “rgrid2rcm_Wrap” to regrid a monthly NCAR/NCEP reanalysis temperature in a WRF grid.</div>
<div class=""><br class="">
</div>
<div class="">The problem I have this error:</div>
<div class=""><br class="">
</div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>check_for_y_lat_coord: Warning: Data either does not contain</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>a valid latitude coordinate array or doesn't contain one at all.</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>A valid latitude coordinate array should have a 'units'</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>attribute equal to one of the following values: </span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>    'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>check_for_lon_coord: Warning: Data either does not contain</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>a valid longitude coordinate array or doesn't contain one at all.</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>A valid longitude coordinate array should have a 'units'</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>attribute equal to one of the following values: </span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">(0)<span class="x_Apple-tab-span" style="white-space:pre">
</span>    'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">warning:ContourPlotInitialize: no valid values in scalar field; ContourPlot not possible:[errno=1101]</span></div>
<div class=""><br class="">
</div>
<div class="">I know it is an error referred to the coordinates units, but I can not solve, because I think it is a coordinate problem (I mean the coordinates are not well declared). </div>
<div class=""><br class="">
</div>
<div class="">This is the variable to plot:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Variable: nc_regrid</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Type: float</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Total Size: 6774768 bytes</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">            1693692 values</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 3</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="x_Apple-tab-span" style="white-space:pre">
</span>[Time | 12] x [south_north | 329] x [west_east | 429]</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">            Time: [1902192..1910208]</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 25</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  long_name :<span class="x_Apple-tab-span" style="white-space:pre">
</span>WRFChem</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  FieldType :<span class="x_Apple-tab-span" style="white-space:pre">
</span>104</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  MemoryOrder :<span class="x_Apple-tab-span" style="white-space:pre">
</span>XY </span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  description :<span class="x_Apple-tab-span" style="white-space:pre">
</span>TEMP at 2 M</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  units :<span class="x_Apple-tab-span" style="white-space:pre">
</span>[degC]</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  stagger :<span class="x_Apple-tab-span" style="white-space:pre">
</span></span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  coordinates :<span class="x_Apple-tab-span" style="white-space:pre">
</span>XLONG XLAT XTIME</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  Time :<span class="x_Apple-tab-span" style="white-space:pre">
</span>  0</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  NCL_tag :<span class="x_Apple-tab-span" style="white-space:pre">
</span>calculate_monthly_values: arith=avg</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  _FillValue :<span class="x_Apple-tab-span" style="white-space:pre">
</span>9.96921e+36</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  time :<span class="x_Apple-tab-span" style="white-space:pre">
</span>1902192</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  precision :<span class="x_Apple-tab-span" style="white-space:pre">
</span>2</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  least_significant_digit :<span class="x_Apple-tab-span" style="white-space:pre">
</span>1</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  GRIB_id :<span class="x_Apple-tab-span" style="white-space:pre">
</span>11</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  GRIB_name :<span class="x_Apple-tab-span" style="white-space:pre">
</span>TMP</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  var_desc :<span class="x_Apple-tab-span" style="white-space:pre">
</span>Air temperature</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  dataset :<span class="x_Apple-tab-span" style="white-space:pre">
</span>NCEP Reanalysis Daily Averages</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  level_desc :<span class="x_Apple-tab-span" style="white-space:pre">
</span>2 m</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  statistic :<span class="x_Apple-tab-span" style="white-space:pre">
</span>Mean</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  parent_stat :<span class="x_Apple-tab-span" style="white-space:pre">
</span>Individual Obs</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  valid_range :<span class="x_Apple-tab-span" style="white-space:pre">
</span>( 150, 400 )</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  actual_range :<span class="x_Apple-tab-span" style="white-space:pre">
</span>( 177.35, 317.15 )</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  lonFlip :<span class="x_Apple-tab-span" style="white-space:pre">
</span>longitude coordinate variable has been reordered via lonFlip</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  missing_value :<span class="x_Apple-tab-span" style="white-space:pre">
</span>-9.96921e+36</span></div>
<div class="" style="margin:0px; font-stretch:normal; font-size:18px; line-height:normal; font-family:Courier; background-color:rgb(215,211,183)">
<span class="" style="font-variant-ligatures:no-common-ligatures">  ncl :<span class="x_Apple-tab-span" style="white-space:pre">
</span>rgrid2rcm used for interpolation</span></div>
</div>
<div class=""><span class="" style="font-variant-ligatures:no-common-ligatures"><br class="">
</span></div>
<div class=""><span class="" style="font-variant-ligatures:no-common-ligatures">and attached the script.</span></div>
<div class=""><span class="" style="font-variant-ligatures:no-common-ligatures"><br class="">
</span></div>
<div class=""><span class="" style="font-variant-ligatures:no-common-ligatures">Could someone help me thanks</span></div>
<div class=""><span class="" style="font-variant-ligatures:no-common-ligatures"><br class="">
</span></div>
<div class="">Regards,</div>
<div class="">
<div class=""><br class="x_webkit-block-placeholder">
</div>
<div class="">
<div class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word; line-break:after-white-space">
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
---------</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<br class="">
</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Eng. Mauro Morichetti</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Department of Industrial Engineering and Mathematical Science<br class="">
Marche Polytechnic University, Ancona, Italy<br class="">
<a href="mailto:m.morichetti@pm.univpm.it" class="">m.morichetti@pm.univpm.it</a></div>
</div>
</div>
<br class="">
</div>
<div class=""></div>
</div>
</div>
</div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
<div class=""></div>
</div>
</div>
</div>
</div>
</body>
</html>