<html><body><div style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000" data-mce-style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000;"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000" data-mce-style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000;"><div>Hello,</div><div><br></div><div>I have a problem with str_match function and the NCL last version .<br></div><div>the result gives "missing" in my string<br></div><div><br></div><div>Here my machine: Linux x86_64 GNU/Linux</div><div><br></div><div><strong>ncl</strong><br> Copyright (C) 1995-2014 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language <strong>Version 6.2.1</strong><br> The use of this software is governed by a License Agreement.<br> See http://www.ncl.ucar.edu/ for more details.<br><strong>ncl 0> varname="rntcre"</strong><br><strong>ncl 1> a=str_match(varname,"r[lsn][ats]cre")</strong><br><strong>ncl 2> print (a)</strong><br><div><br></div>Variable: a<br>Type: string<br>Total Size: 8 bytes<br> 1 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [1]<br>Coordinates: <br>Number Of Attributes: 1<br> _FillValue : missing<br>(0) <span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;">missing</span><br><div><br></div><div>this function works with NCL previous version:<br></div><div><br></div><div><strong>ncl</strong><br> Copyright (C) 1995-2012 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language <strong>Version 6.1.0</strong><br> The use of this software is governed by a License Agreement.<br> See http://www.ncl.ucar.edu/ for more details.<br><strong>ncl 0> varname="rntcre"</strong><br><strong>ncl 1> a=str_match(varname,"r[lsn][ats]cre")</strong><br><strong>ncl 2> print (a)</strong><br><div><br></div>Variable: a<br>Type: string<br>Total Size: 8 bytes<br> 1 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [1]<br>Coordinates: <br>(0) <span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;">rntcre</span><br><div><br></div></div></div><div>Could you help me, please?<br></div><div>Thank you very much<br></div><div><br></div><div><span></span>----- Météo-France -----<br>TYTECA SOPHIE<br>CNRM/GMGEC/VDR <br>sophie.tyteca@meteo.fr <br>Fixe : +33 561079379<span></span><br></div></div></div><div><br></div></div></div><div><br></div></div></body></html>