<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }div.FoxDiv20201111093914158338 { word-wrap: break-word; }body { font-size: 14px; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Dear Hong and Ou,</div><div> Thank both of you so much for your prompt help. Great to find the "read_ncfiles" function was updated to accommodate the new data. But when I downloaded the 288-line code that Ou updated on 13 May and tried to load the a r4v4 example NC file, "\release4\daily_llc90\ETAN\ETAN_2010_01_25.nc" I downloaded from <a href="https://urldefense.us/v3/__https:/data.nas.nasa.gov/ecco/data.php?dir=*eccodata*llc_90*ECCOv4*Release4*nctiles_daily__;Ly8vLy8!!PvBDto6Hs4WbVuu7!ZFuZLgkS-eK4MvLriZf0XMqBpnOjONXmWIC2QWTL5HeJG59E_Plv8V9fz8ALnP-5dEm_sA$" style="font-family: Calibri, sans-serif; font-size: 14.6667px; line-height: 22px; color: blue; background-color: transparent;">https://data.nas.nasa.gov/ecco/data.php?dir=/eccodata/llc_90/ECCOv4/Release4/nctiles_daily</a><span style="line-height: 1.5; background-color: transparent;"> , the code auto-added a suffix to the data file which made it to be "</span><span style="background-color: transparent;">ETAN_2010_01_25.nc.0001.nc</span><span style="line-height: 1.5; background-color: transparent;">" and thus met with errors saying </span><span style="background-color: transparent;">'Variable not found (NC_ENOTVAR)' in line 79 (</span><span style="line-height: 1.5; background-color: transparent;">vv = netcdf.inqVarID(nc,fldName);</span><span style="line-height: 1.5; background-color: transparent;">). Do I need to change any parameter when running the new "read_ncfiles" function? The way I ran it in Matlab is:</span></div><div><span style="background-color: transparent;">>> tmp=</span><span style="background-color: transparent;">read_nctiles_new('release4\daily_llc90\ETAN\ETAN_2010_01_25.nc','ETAN');</span></div><div>Look so much forward to your instructions how to use it properly. </div><div><span style="background-color: transparent;"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> Also thank Ou for the useful information on the python code, I was tempted to move from Matlab to python but haven't done it yet. I might still need some time to do the migration because all my codes with r4v3 are written in Matlab. </span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Thank both of you again for your prompt and kind help.</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Best regards,</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Lei </span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>19908766@qq.com</div></div></span></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em; margin-Right: inherit"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:ou.wang@jpl.nasa.gov" style="color: blue; text-decoration: underline;">Wang, Ou (US 329B)</a></div><div><b>Date:</b> 2020-11-11 02:46</div><div><b>To:</b> <a href="mailto:hong.zhang@jpl.nasa.gov" style="color: blue; text-decoration: underline;">Zhang, Hong (US 398K)</a>; <a href="mailto:ecco-support@mit.edu" style="color: blue; text-decoration: underline;">ECCO support list, wider membership</a></div><div><b>CC:</b> <a href="mailto:19908766@qq.com" style="color: blue; text-decoration: underline;">我自己的邮箱</a>; <a href="mailto:lei.han@sdu.edu.cn" style="color: blue; text-decoration: underline;">lei.han@sdu.edu.cn</a>; <a href="mailto:hector.torres.gutierrez@jpl.nasa.gov" style="color: blue; text-decoration: underline;">Torres Gutierrez, Hector (US 334H)</a></div><div><b>Subject:</b> Re: [EXTERNAL] [ecco-support] reading llc_90/ECCOv4/Release4/nctiles_daily files</div></div></div><div><div class="FoxDiv20201111093914158338">
<div class="WordSection1" style="page: WordSection1;">
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Thanks to Hong for answering the question. We’ll have the pull request merged shortly.
<o:p></o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Lei, In addition to the Matlab package gcmfaces <a href="https://github.com/MITgcm/gcmfaces" style="color: blue; text-decoration: underline;">
https://github.com/MITgcm/gcmfaces</a>, there is a Python package called ECCOv4-py (<a href="https://github.com/ECCO-GROUP/ECCOv4-py" style="color: blue; text-decoration: underline;">https://github.com/ECCO-GROUP/ECCOv4-py</a>) that can be used to analyze the ECCO v4 products. Some tutorials using ECCv4-py
are available at <a href="https://github.com/ECCO-GROUP/ECCO-v4-Python-Tutorial" style="color: blue; text-decoration: underline;">
https://github.com/ECCO-GROUP/ECCO-v4-Python-Tutorial</a>. In the tutorials, ECCO_v4_Loading_the_ECCOv4_state_estimate_fields_on_the_native_model_grid.py gives an example about how to load the netCDF files of the ECCO V4 product.
<o:p></o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Regards,<o:p></o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Ou<o:p></o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">"Zhang, Hong (US 398K)" <hong.zhang@jpl.nasa.gov><br>
<b>Date: </b>Tuesday, November 10, 2020 at 9:00 AM<br>
<b>To: </b>"ECCO support list, wider membership" <ecco-support@mit.edu><br>
<b>Cc: </b>"Wang, Ou (US 329B)" <ou.wang@jpl.nasa.gov>, </span><span style="font-size:12.0pt;font-family:"MS Gothic";color:black">我自己的</span><span style="font-size:12.0pt;font-family:"PingFang TC",sans-serif;color:black">邮</span><span style="font-size:12.0pt;font-family:"MS Gothic";color:black">箱</span><span style="font-size:12.0pt;color:black">
<19908766@qq.com>, "lei.han@sdu.edu.cn" <lei.han@sdu.edu.cn>, "Torres Gutierrez, Hector (US 334H)" <hector.torres.gutierrez@jpl.nasa.gov><br>
<b>Subject: </b>Re: [EXTERNAL] [ecco-support] reading llc_90/ECCOv4/Release4/nctiles_daily files<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top: 0px; margin-bottom: 5pt;">
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">On Nov 10, 2020, at 5:23 AM, Dimitris Menemenlis <<a href="mailto:menemenlis@jpl.nasa.gov" style="color: blue; text-decoration: underline;">menemenlis@jpl.nasa.gov</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Hi Ou, are there instructions or example programs for reading files in
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><a href="https://urldefense.us/v3/__https:/data.nas.nasa.gov/ecco/data.php?dir=*eccodata*llc_90*ECCOv4*Release4*nctiles_daily__;Ly8vLy8!!PvBDto6Hs4WbVuu7!ZFuZLgkS-eK4MvLriZf0XMqBpnOjONXmWIC2QWTL5HeJG59E_Plv8V9fz8ALnP-5dEm_sA$" style="color: blue; text-decoration: underline;">https://data.nas.nasa.gov/ecco/data.php?dir=/eccodata/llc_90/ECCOv4/Release4/nctiles_daily</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Ou submitted a PR to fix this in May<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">though it isn't merged::<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><a href="https://github.com/MITgcm/gcmfaces/pull/13" style="color: blue; text-decoration: underline;">https://github.com/MITgcm/gcmfaces/pull/13</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">hope it helps <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Hong<o:p></o:p></p>
</div>
</div>
</div></div></blockquote>
</body></html>