[ecco-support] [EXTERNAL] grid_load.m

Ivana Cerovecki icerovecki at ucsd.edu
Sun May 3 20:01:55 EDT 2020


Hi Hong,

if you copy the grid files from v3 to use in v4, can you run the scripts
that calculate the T and S budgets
using the fields from the v4?
Ivana




On Sun, May 3, 2020 at 4:45 PM Zhang, Hong (US 398K) <
hong.zhang at jpl.nasa.gov> wrote:

> Hi Gael,
> I took a look. We need to modify
> grid_load.m and read_nctiles.m for r4.
>
> "read_nctiles.m" needs two minor fixes
> 1)
> https://urldefense.com/v3/__https://github.com/MITgcm/gcmfaces/blob/master/gcmfaces_IO/read_nctiles.m*L64__;Iw!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJDo8rbFlA$
> basedir = './'; ==> basedir = '.';
> 2)
> https://urldefense.com/v3/__https://github.com/MITgcm/gcmfaces/blob/master/gcmfaces_IO/read_nctiles.m*L190__;Iw!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCiNFP9dQ$
>     t0=tt(1)-1; ==>     t0=tt(1);
>
> It's hard to reconcile "GRID*.nc" from r3 and "ECCO-GRID*.nc" from r4
> in "grid_load.m" because they have different field names.
> One work-around is to copy
>
> https://urldefense.com/v3/__https://ecco.jpl.nasa.gov/drive/files/Version4/Release3/nctiles_grid/GRID.nc__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCuOmt3RQ$
> to
>
> https://urldefense.com/v3/__https://ecco.jpl.nasa.gov/drive/files/Version4/Release4/nctiles_grid/__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJCqU4DxlA$
>
> I did a test as above and it's OK.
> But it took ~204 seconds to load 312 monthly v4 ETAN from 312 files
> as opposed to 1.4 seconds to load 288 monthly v3 ETAN from 13 files.
> Perhaps this arrangement has more benefits to ECCO-v4.py
>
> cheers
> Hong
> _______________________________________________
> ecco-support mailing list
> ecco-support at mit.edu
>
> https://urldefense.com/v3/__http://mailman.mit.edu/mailman/listinfo/ecco-support__;!!Mih3wA!Vs5zLYmJC90lsf0uIRmcvlL8Bi2kEB3Yatz9gzoEV0Yqxgdy85XTcd1RGJAdSI72Eg$
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/ecco-support/attachments/20200503/14eec7a5/attachment.html


More information about the ecco-support mailing list