<div dir="ltr">Hi Hong,<div><br></div><div>if you copy the grid files from v3 to use in v4, can you run the scripts that calculate the T and S budgets </div><div>using the fields from the v4?</div><div>Ivana</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 3, 2020 at 4:45 PM Zhang, Hong (US 398K) <<a href="mailto:hong.zhang@jpl.nasa.gov">hong.zhang@jpl.nasa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Gael,<br>
I took a look. We need to modify<br>
grid_load.m and read_nctiles.m for r4.<br>
<br>
"read_nctiles.m" needs two minor fixes<br>
1) <a href="https://urldefense.com/v3/__https://github.com/MITgcm/gcmfaces/blob/master/gcmfaces_IO/read_nctiles.m*L64__;Iw!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJDo8rbFlA$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://github.com/MITgcm/gcmfaces/blob/master/gcmfaces_IO/read_nctiles.m*L64__;Iw!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJDo8rbFlA$</a> <br>
basedir = './'; ==> basedir = '.';<br>
2) <a href="https://urldefense.com/v3/__https://github.com/MITgcm/gcmfaces/blob/master/gcmfaces_IO/read_nctiles.m*L190__;Iw!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCiNFP9dQ$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://github.com/MITgcm/gcmfaces/blob/master/gcmfaces_IO/read_nctiles.m*L190__;Iw!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCiNFP9dQ$</a> <br>
t0=tt(1)-1; ==> t0=tt(1);<br>
<br>
It's hard to reconcile "GRID*.nc" from r3 and "ECCO-GRID*.nc" from r4<br>
in "grid_load.m" because they have different field names.<br>
One work-around is to copy <br>
<a href="https://urldefense.com/v3/__https://ecco.jpl.nasa.gov/drive/files/Version4/Release3/nctiles_grid/GRID.nc__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCuOmt3RQ$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://ecco.jpl.nasa.gov/drive/files/Version4/Release3/nctiles_grid/GRID.nc__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCuOmt3RQ$</a> <br>
to<br>
<a href="https://urldefense.com/v3/__https://ecco.jpl.nasa.gov/drive/files/Version4/Release4/nctiles_grid/__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCqU4DxlA$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://ecco.jpl.nasa.gov/drive/files/Version4/Release4/nctiles_grid/__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCqU4DxlA$</a> <br>
<br>
I did a test as above and it's OK.<br>
But it took ~204 seconds to load 312 monthly v4 ETAN from 312 files<br>
as opposed to 1.4 seconds to load 288 monthly v3 ETAN from 13 files.<br>
Perhaps this arrangement has more benefits to ECCO-v4.py<br>
<br>
cheers<br>
Hong<br>
_______________________________________________<br>
ecco-support mailing list<br>
<a href="mailto:ecco-support@mit.edu" target="_blank">ecco-support@mit.edu</a><br>
<a href="https://urldefense.com/v3/__http://mailman.mit.edu/mailman/listinfo/ecco-support__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJAdSI72Eg$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://mailman.mit.edu/mailman/listinfo/ecco-support__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJAdSI72Eg$</a> <br>
</blockquote></div>