<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Marston, <div class="">That was a neat catch!! </div><div class=""><br class=""></div><div class="">Thank you so much</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(184, 45, 24); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">time := toint(getenv("time”))</span></div></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(184, 45, 24); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">printVarSummary(time)</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(184, 45, 24); background-color: rgb(237, 234, 212);" class="">print(time)</div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(184, 45, 24); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Variable: time</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Type: integer</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Total Size: 4 bytes</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 values</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Number of Dimensions: 1</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre"> </span>[1]</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Coordinates: </span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212); min-height: 19px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212); min-height: 19px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Variable: time</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Type: integer</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Total Size: 4 bytes</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 1 values</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Number of Dimensions: 1</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre"> </span>[1]</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Coordinates: </span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Courier; color: rgb(77, 47, 45); background-color: rgb(237, 234, 212);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">13</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div><blockquote type="cite" class=""><div class="">On Oct 19, 2017, at 11:51 AM, Marston Johnston <<a href="mailto:shejo284@gmail.com" class="">shejo284@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; 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; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Another correction: getenv(“time”). It must be a string inside getenv.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Marston S. Ward, PhD<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Department of Earth Sciences<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">University of Gothenburg, Sweden<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Email: <a href="mailto:marston.johnston@gu.se" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(0, 112, 192);" class="">marston.johnston@gu.se</span></a><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">SkypeID: marston.johnston <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Phone: +46-31-7864901 <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Only the fruitful thing is true!<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p class=""></o:p></span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="font-size: 12pt;" class="">From:<span class="Apple-converted-space"> </span></span></b><span style="font-size: 12pt;" class="">Prashanth Bhalachandran <<a href="mailto:prashanth.bhalachandran@gmail.com" class="">prashanth.bhalachandran@gmail.com</a>><br class=""><b class="">Date:<span class="Apple-converted-space"> </span></b>Thursday, 19 October 2017 at 20:44<br class=""><b class="">To:<span class="Apple-converted-space"> </span></b>Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" class="">barry.h.lynn@gmail.com</a>><br class=""><b class="">Cc:<span class="Apple-converted-space"> </span></b>ncl-talk <<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a>>, Marston Johnston <<a href="mailto:shejo284@gmail.com" class="">shejo284@gmail.com</a>><br class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b>Re: [ncl-talk] Question regarding the transfer of integer values from shell to NCL<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Barry, <o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">As I indicated in my first email, the rows of my text file are something like this : <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: Times, serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;" class="">20121030 13 73.34 51.77 -21.57</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Here, I take the first two columns where I use 20121030.nc as the file name and the 13 as the time. <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Oct 19, 2017, at 11:43 AM, Prashanth Bhalachandran <<a href="mailto:prashanth.bhalachandran@gmail.com" style="color: purple; text-decoration: underline;" class="">prashanth.bhalachandran@gmail.com</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Marston, <o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thank you, that getenv was new. But the result is still the same. <o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> time = toint(getenv(time))<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> printVarSummary(time)<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> print(time)<o:p class=""></o:p></span></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> Copyright (C) 1995-2017 - All Rights Reserved<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> University Corporation for Atmospheric Research<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> NCAR Command Language Version 6.4.0<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> The use of this software is governed by a License Agreement.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> See<span class="Apple-converted-space"> </span><a href="http://www.ncl.ucar.edu/" style="color: purple; text-decoration: underline;" class="">http://www.ncl.ucar.edu/</a><span class="Apple-converted-space"> </span>for more details.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(255, 38, 0);" class="">warning:toint: A bad value was passed (string); input strings must contain numeric digits, replacing with missing value</span><span style="font-size: 12pt; font-family: Courier, serif;" class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""><o:p class=""> </o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Variable: time<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Type: string<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Total Size: 8 bytes<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> 1 values<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number of Dimensions: 1<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Dimensions and sizes:<span class="apple-tab-span"> <span class="Apple-converted-space"> </span></span>[1]<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Coordinates: <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number Of Attributes: 1<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> _FillValue :<span class="apple-tab-span"><span class="Apple-converted-space"> </span></span>-2147483647<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""><br class=""><br class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">-2147483647<o:p class=""></o:p></span></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""><br class=""><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Oct 19, 2017, at 11:39 AM, Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" style="color: purple; text-decoration: underline;" class="">barry.h.lynn@gmail.com</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">HI Marston:<o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Can time be a variable like 201710201800?<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Barry<o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Thu, Oct 19, 2017 at 9:37 PM, Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">shejo284@gmail.com</a>> wrote:<o:p class=""></o:p></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;" class="" type="cite"><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Oh forgot the reply to all, <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">If time is a single value then is it actually easier to call it via the environment:<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">export time=$time; ncl ….my_script.ncl<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Then in the ncl script: time = toint(getenv(time))<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I use this method all the time.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">/M<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Marston S. Ward, PhD</span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Department of Earth Sciences</span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">University of Gothenburg, Sweden</span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Email: <a href="mailto:marston.johnston@gu.se" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(0, 112, 192);" class="">marston.johnston@gu.se</span></a></span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">SkypeID: marston.johnston </span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Phone:<span class="Apple-converted-space"> </span><a href="tel:+46%2031%20786%2049%2001" target="_blank" style="color: purple; text-decoration: underline;" class="">+46-31-7864901</a> </span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Only the fruitful thing is true!</span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="font-size: 12pt;" class="">From:<span class="Apple-converted-space"> </span></span></b><span style="font-size: 12pt;" class="">Prashanth Bhalachandran <<a href="mailto:prashanth.bhalachandran@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">prashanth.bhalachandran@gmail.com</a>><br class=""><b class="">Date:<span class="Apple-converted-space"> </span></b>Thursday, 19 October 2017 at 20:32<br class=""><b class="">To:<span class="Apple-converted-space"> </span></b>Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">shejo284@gmail.com</a>><br class=""><b class="">Cc:<span class="Apple-converted-space"> </span></b>ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank" style="color: purple; text-decoration: underline;" class="">ncl-talk@ucar.edu</a>>, Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">barry.h.lynn@gmail.com</a>></span><o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b>Re: [ncl-talk] Question regarding the transfer of integer values from shell to NCL<o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Marston, <o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">It is being passed from Bash, yes. But it is not an array. The bash script reads one line from the text file containing the file name and the time, passes this to NCL, writes the output to a NETCDF file for that particular file and time and moves to the next file and list. So, as far as NCL is concerned, the time is a single value. When I tested the NCL script, I simply gave it <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Filename = “<a href="http://20141009.nc/" target="_blank" style="color: purple; text-decoration: underline;" class="">20141009.nc</a>”<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Time = 40 <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">And the script works perfectly fine. <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Barry : This is not an array of time values where some of them are missing. The missing value is because of the string passed. In this case, every value will be missing. The output of printMinMax(time,False) is as follows : <o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Variable: time</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Type: integer</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Total Size: 4 bytes</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> 1 values</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number of Dimensions: 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Dimensions and sizes:<span class="m7321342518497639465apple-tab-span"> <span class="Apple-converted-space"> </span></span>[1]</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Coordinates: </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number Of Attributes: 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> _FillValue :<span class="m7321342518497639465apple-tab-span"><span class="Apple-converted-space"> </span></span>-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a></span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">min=-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a><span class="Apple-converted-space"> </span> max=-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a></span><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Oct 19, 2017, at 11:27 AM, Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">barry.h.lynn@gmail.com</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi:<o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">printMinMax(time,False) shows no min/max?<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">You can handle missing values by checking for them with "ismissing." If it is true, then you can't use the time variable.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Barry<o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Thu, Oct 19, 2017 at 9:20 PM, Prashanth Bhalachandran <<a href="mailto:prashanth.bhalachandran@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">prashanth.bhalachandran@gmail.com</a>> wrote:<o:p class=""></o:p></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin: 5pt 0cm 5pt 4.8pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Marston, <o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I did this previously too. The problem is as follows. It is being assigned a missing value. <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> time := stringtointeger(time)</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> printVarSummary(time)</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> print(time)</span><o:p class=""></o:p></div></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Variable: time</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Type: integer</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Total Size: 4 bytes</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> 1 values</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number of Dimensions: 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Dimensions and sizes:<span class="m7321342518497639465m-256501566104331939apple-tab-span"><span class="Apple-converted-space"> </span></span>[1]</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Coordinates: </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number Of Attributes: 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> _FillValue :<span class="m7321342518497639465m-256501566104331939apple-tab-span"><span class="Apple-converted-space"> </span></span>-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a></span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a></span><o:p class=""></o:p></div></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div><div class=""><div class=""><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Oct 19, 2017, at 11:16 AM, Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">shejo284@gmail.com</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">Correction:<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">Why not convert time once at the beginning?<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">time := stringtointeger(time)<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">/M<o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Marston S. Ward, PhD</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Department of Earth Sciences</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">University of Gothenburg, Sweden</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Email: <a href="mailto:marston.johnston@gu.se" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(0, 112, 192);" class="">marston.johnston@gu.se</span></a></span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">SkypeID: marston.johnston </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Phone:<span class="Apple-converted-space"> </span><a href="tel:+46%2031%20786%2049%2001" target="_blank" style="color: purple; text-decoration: underline;" class="">+46-31-7864901</a> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Only the fruitful thing is true!</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm;" class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><b class=""><span style="font-size: 12pt;" class="">From:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></span></b><span style="font-size: 12pt;" class="">Prashanth Bhalachandran <<a href="mailto:prashanth.bhalachandran@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">prashanth.bhalachandran@gmail.com</span></a>><br class=""><b class="">Date:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b>Thursday, 19 October 2017 at 20:08<br class=""><b class="">To:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b>Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">shejo284@gmail.com</span></a>><br class=""><b class="">Cc:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b><<a href="mailto:ncl-talk@ucar.edu" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">ncl-talk@ucar.edu</span></a>><br class=""><b class="">Subject:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b>Re: [ncl-talk] Question regarding the transfer of integer values from shell to NCL</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">Marston, <o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">The problem is I have several arrays where time is one of the variables as you will see in the attached code. <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">For example, <o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> u10 = a->u10 is [76 times] x [801 lats] x [810 lon]</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> u = a->u. Is [76 times] x [11 levels] [801 lats] x [810 lon]</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class="">Using the input argument from the shell script, I am reading these variables at particular times. That is, the text file contains the name of the file and the particular time. </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class="">Therefore, when I use it like this : </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class="">speed(:,:) = wind_speed(u10(time,0,:,:),v10(time,0,:,:)) * toknots </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"> <o:p class=""></o:p></p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(184, 45, 24);" class="">Or any such line, there will be an error primarily because the time input from the shell script is a string. As you can see from the printVarSummary of the received time from the shell script. </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Variable: time</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Type: string</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Total Size: 8 bytes</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> 1 values</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number of Dimensions: 1</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Dimensions and sizes:<span class="m7321342518497639465m-256501566104331939apple-tab-span"> </span><span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span>[1]</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Coordinates: </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">Number Of Attributes: 1</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class=""> _FillValue :<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span>-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a></span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Courier, serif; color: rgb(77, 47, 45);" class="">-<a href="tel:(214)%20748-3647" target="_blank" style="color: purple; text-decoration: underline;" class="">2147483647</a></span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">On Oct 19, 2017, at 10:42 AM, Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">shejo284@gmail.com</span></a>> wrote:<o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">It would help if you did a printVarSummary() on the problem array.<o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Marston S. Ward, PhD</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Department of Earth Sciences</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">University of Gothenburg, Sweden</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Email: <a href="mailto:marston.johnston@gu.se" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(0, 112, 192);" class="">marston.johnston@gu.se</span></a></span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">SkypeID: marston.johnston </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Phone:<span class="Apple-converted-space"> </span><a href="tel:+46%2031%20786%2049%2001" target="_blank" style="color: purple; text-decoration: underline;" class="">+46-31-7864901</a> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">Only the fruitful thing is true!</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: rgb(0, 112, 192);" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm;" class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><b class=""><span style="font-size: 12pt;" class="">From:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></span></b><span style="font-size: 12pt;" class="">ncl-talk <<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(149, 79, 114);" class="">ncl-talk-bounces@ucar.edu</span></a>> on behalf of Prashanth Bhalachandran <<a href="mailto:prashanth.bhalachandran@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(149, 79, 114);" class="">prashanth.bhalachandran@gmail.com</span></a>><br class=""><b class="">Date:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b>Thursday, 19 October 2017 at 19:31<br class=""><b class="">To:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b><<a href="mailto:ncl-talk@ucar.edu" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(149, 79, 114);" class="">ncl-talk@ucar.edu</span></a>><br class=""><b class="">Subject:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span></b>[ncl-talk] Question regarding the transfer of integer values from shell to NCL</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">Dear NCL team, </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">Greetings. </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">I have a shell script that does the following : Read from a text file which has a list of dates (yyyyddmm) format and times. For example, the first column in the text represents the date and the second the time. </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">20121030 13 73.34 51.77 -21.57</span><o:p class=""></o:p></div></div></div></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 18pt; font-family: Times, serif;" class="">My shell script reads in the first and second column and stores those values and passes off as arguments to my NCL script. My NCL script reads the first argument as the filename and the second as time. I use this time as an index in several of my arrays in my NCL script since my variable </span><span style="font-size: 13.5pt; font-family: Times, serif;" class="">dimensions are time x lev x lat x lon. </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">The problem here is that shell reads these values as strings and I am unable to get it as an integer, which is compulsory if I want to use it as an array index. Please see the below error. </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">Can one of you please guide me as to how I pass this value as an integer? </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""> <o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">Many thanks, </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">Prashanth </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""> <o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 13.5pt; font-family: Times, serif;" class="">Error: </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif; color: rgb(255, 38, 0);" class="">fatal:Illegal subscript. Subscripts must be integer when not using coordinate index</span><span style="font-size: 12pt; font-family: Times, serif;" class="">ing</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><b class=""><u class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">My code (I’m attaching the entire code in case you want to have a look, but I am pasting the necessary portions here) : </span></u></b><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">#!bin/bash</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">file="/scratch/conte/s/sbhalach/DATA/RI_compute/CatRW2030.txt"</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">while read f1 f2 f3 f4;</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">do</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> export dirname=$(echo $f1)00post</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> echo $dirname</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> cd $dirname</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> <span class="m7321342518497639465m-256501566104331939apple-converted-space"><span style="color: rgb(255, 38, 0);" class=""> </span></span><span style="color: rgb(255, 38, 0);" class="">export filename=${f1}.nc</span></span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif; color: rgb(255, 38, 0);" class=""> export time=$f2</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">#*************************************************************************</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> cat > varcalc.ncl << EOF </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> load "/scratch/lustreD/s/sbhalach/DATA/func_center.ncl"</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> load "/scratch/lustreD/s/sbhalach/DATA/func_rtheta.ncl"</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> a = addfile(filename,"r")</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> u10 = a->u10</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> v10 = a->v10</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> slp = a->slp</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> u = a->u</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> v = a->v</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">allvars = new((/40/),float)</span><o:p class=""></o:p></div></div></div></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div></div><div class=""><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">slpsub = slp(<span style="color: rgb(255, 38, 0);" class="">time</span>,0,:,:) </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">;<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span><b class=""><span style="color: rgb(255, 38, 0);" class="">Note that the time here is taken as string and hence the error. I obviously tried the toint() and strongpoint() functions but then the function only returns missing values. </span></b></span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">.</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">.</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">. </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">;;;;;;;;;;;;;;;;;;;;;; Write to a netcdf file ;;;;;;;;;;;;;;;;;;</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> system("rm -f $f1_$<a href="http://f2_allvars.nc/" target="_blank" style="color: purple; text-decoration: underline;" class="">f2_allvars.nc</a>")</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> ncdf = addfile("$f1_$<a href="http://f2_allvars.nc/" target="_blank" style="color: purple; text-decoration: underline;" class="">f2_allvars.nc</a>","c")</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> ncdf->allvars = allvars</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">EOF</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class="">#*************************************************************************</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> </span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> <b class=""><span style="color: rgb(255, 38, 0);" class="">ncl -n 'filename = "$filename"' 'time = "$time"' varcalc.ncl</span></b></span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> mv $f1_$<a href="http://f2_allvars.nc/" target="_blank" style="color: purple; text-decoration: underline;" class="">f2_allvars.nc</a><span class="Apple-converted-space"> </span>../</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> cd ../</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212);" class=""><span style="font-size: 12pt; font-family: Times, serif;" class=""> done <"$file”</span><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div></div></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div></div></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: rgb(237, 234, 212); background-position: initial initial; background-repeat: initial initial;"><o:p class=""> </o:p></p></div></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class="">_______________________________________________ ncl-talk mailing list<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span><a href="mailto:ncl-talk@ucar.edu" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(149, 79, 114);" class="">ncl-talk@ucar.edu</span></a><span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span>List instructions, subscriber options, unsubscribe:<span class="m7321342518497639465m-256501566104331939apple-converted-space"> </span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(149, 79, 114);" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</span></a><o:p class=""></o:p></div></div></div></div></blockquote></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;" class=""> <o:p class=""></o:p></div></div></div></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div></div></div></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;"><br class="">_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" target="_blank" style="color: purple; text-decoration: underline;" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" style="color: purple; text-decoration: underline;" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p class=""></o:p></p></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""><br clear="all" class=""><o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">--<span class="Apple-converted-space"> </span><o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Barry H. Lynn, Ph.D<o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Senior Lecturer,<o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(136, 136, 136);" class="">The Institute of the Earth Science, <br class="">The Hebrew University of Jerusalem, <br class="">Givat Ram, Jerusalem 91904, Israel </span><o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(136, 136, 136);" class="">Tel: 972 547 231 170<br class="">Fax: (972)-25662581</span><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">C.E.O, Weather It Is, LTD<br class="">Weather and Climate Focus<br class=""><a href="http://weather-it-is.com/" target="_blank" style="color: purple; text-decoration: underline;" class="">http://weather-it-is.com</a><br class="">Jerusalem, Israel<br class="">Local: 02 930 9525<br class="">Cell: 054 7 231 170<br class="">Int-IS: x972 2 930 9525<br class="">US<span class="Apple-converted-space"> </span><a href="tel:(914)%20432-3108" target="_blank" style="color: purple; text-decoration: underline;" class="">914 432 3108</a><o:p class=""></o:p></div></div></div></div></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div></div></div></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""><br clear="all" class=""><o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">--<span class="Apple-converted-space"> </span><o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Barry H. Lynn, Ph.D<o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Senior Lecturer,<o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(136, 136, 136);" class="">The Institute of the Earth Science, <br class="">The Hebrew University of Jerusalem, <br class="">Givat Ram, Jerusalem 91904, Israel </span><o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(136, 136, 136);" class="">Tel: 972 547 231 170<br class="">Fax: (972)-25662581</span><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">C.E.O, Weather It Is, LTD<br class="">Weather and Climate Focus<br class=""><a href="http://weather-it-is.com/" target="_blank" style="color: purple; text-decoration: underline;" class="">http://weather-it-is.com</a><br class="">Jerusalem, Israel<br class="">Local: 02 930 9525<br class="">Cell: 054 7 231 170<br class="">Int-IS: x972 2 930 9525<br class="">US 914 432 3108<o:p class=""></o:p></div></div></div></div></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div></div></div></blockquote></div><br class=""></div></body></html>