<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_1_1447726604047_90706"><span id="yui_3_16_0_1_1447726604047_90747">Hi Rick. <br></span></div><div dir="ltr" id="yui_3_16_0_1_1447726604047_90748"><span id="yui_3_16_0_1_1447726604047_90747">Thanks for your suggestion. <br></span></div><div id="yui_3_16_0_1_1447726604047_90823" dir="ltr"><span id="yui_3_16_0_1_1447726604047_90747">The "isnan_ieee" didnt work. but I converted the double to float and then it worked. <br></span></div><div dir="ltr"><br><span id="yui_3_16_0_1_1447726604047_90747"></span></div><div id="yui_3_16_0_1_1447726604047_90824" dir="ltr"><span id="yui_3_16_0_1_1447726604047_90747">refl = doubletofloat(ref)<br class="" id="yui_3_16_0_1_1447726604047_90783"> reflec = where(refl.eq."nan",-9999.,refl)<br class="" id="yui_3_16_0_1_1447726604047_90785"> asciiwrite("reflec.txt",reflec)<br class="" id="yui_3_16_0_1_1447726604047_90787">; printVarSummary(reflec)<br class="" id="yui_3_16_0_1_1447726604047_90789"></span></div><div id="yui_3_16_0_1_1447726604047_90825" dir="ltr"><span id="yui_3_16_0_1_1447726604047_90747">This is what I did. </span></div><div id="yui_3_16_0_1_1447726604047_90741"><div> </div><div id="yui_3_16_0_1_1447726604047_90826">But I still have one question. when the dataset is of the type "double", then how will "nan" be represented??? Can You pls explain???<br></div><div id="yui_3_16_0_1_1447726604047_90828"><br></div><div id="yui_3_16_0_1_1447726604047_90827">The Figure is attached. <br></div></div><div id="yui_3_16_0_1_1447726604047_90905" class="signature">Geeta.</div></div></body></html>