<div dir="ltr"><div>I was in the process of answering when DaveA's response appeared.</div><div><br></div><div>The gist of my response is that "<b>from</b>", "<b>after</b>", "<b>ref</b>" are <i>synonyms</i> for "<b>since</b>". <br></div><div><br></div><div><span class="gmail-st">From WikiPedia: A <b><em>synonym</em></b> is a word or phrase that means exactly or nearly the same as another lexeme (word or phrase) in the same language.</span></div><div><span class="gmail-st"><br></span></div><div>Cheers<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 15, 2018 at 9:12 PM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Mateus,<br><br>Those units qualifiers are from the original UDUNITS package which set the precedent for formatted date/time unit strings. UDUNITS originally called them "origin shift operators".</div><div><br></div><div>The four words all mean exactly the same thing in this context. They are the human-readable separator between the base unit, e.g. "days", and the string representing the timeline origin, e.g. "0001-01-01".</div><div><br>--Dave</div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 15, 2018 at 7:11 PM Mateus da Silva Teixeira <<a href="mailto:mateusstex@gmail.com" target="_blank">mateusstex@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi,<div><br></div><div>Some time ago I asked about an issue noted when using units qualifiers. I would like to know if someone take a look on it.</div><div><br></div><div>Thanks,</div><div><br></div><div>Mateus</div><div><br><div><br><blockquote type="cite"><div>Em 21 de ago de 2018, à(s) 09:48, Mateus da Silva Teixeira <<a href="mailto:mateusstex@gmail.com" target="_blank">mateusstex@gmail.com</a>> escreveu:</div><br class="m_3229845020050519323gmail-m_-431645866018820647Apple-interchange-newline"><div><div dir="ltr"><div><div><div>Hi,<br><br></div>I'm testing date functions and noted that the usage of different units qualifiers: "since", "after", "from" and "ref" has no impact on results from cd_inv_calendar_function(). See my example below:<br><br><i>dataTeste = cd_inv_calendar( 2018, 08, 21, 09, 30, 0, "days since 0001-01-01 00:00:00", 0 )<br>print( dataTeste+" <=== since" )<br>dataTeste = cd_inv_calendar( 2018, 08, 21, 09, 30, 0, "days after 0001-01-01 00:00:00", 0 )<br>print( dataTeste+" <=== after" )<br>dataTeste = cd_inv_calendar( 2018, 08, 21, 09, 30, 0, "days from 0001-01-01 00:00:00", 0 )<br>print( dataTeste+" <=== from" )<br>dataTeste = cd_inv_calendar( 2018, 08, 21, 09, 30, 0, "days ref 0001-01-01 00:00:00", 0 )<br>print( dataTeste+" <=== ref" )</i><br><br></div>and the output:<br><br>(0) 736928.3958333334 <=== since<br>(0) 736928.3958333334 <=== after<br>(0) 736928.3958333334 <=== from<br>(0) 736928.3958333334 <=== ref<br><br></div><div>Is it correct?<br><br></div><div>If yes, what the purpose of these units qualifiers?<br><br></div><div>Thank you!<br><br></div><div>Mateus</div></div></div></blockquote></div></div></div>
</blockquote></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>