xmitgcm icon indicating copy to clipboard operation
xmitgcm copied to clipboard

how to read shrunk data?

Open shu-duo opened this issue 1 year ago • 3 comments

I have downloaded .shrunk.data to my computer. But i do not konw how to read it . I saw the issue discussed #275 and i try to run the similar codes like the following picture. 截屏2024-12-29 22 02 38 something is wrong, I encountered the error "KeyError: '.zmetadata'". But this seems different from issue #329. I run llcreader.ECCOPortal() without any errors. The error message is as follows. I would greatly appreciate any help. Thanks in advance. 截屏2024-12-29 22 28 33

shu-duo avatar Dec 29 '24 14:12 shu-duo

Hi, instead of using the llcreader.BaseStore and providing all of the URLs, I recommend using one of the pre-defined models provided by the llcreader module. Check out the documentation here, which as plenty of examples for the dataset you are looking for: https://xmitgcm.readthedocs.io/en/latest/llcreader.html#

timothyas avatar Jan 02 '25 18:01 timothyas

but when i use llcreader.ECCOPortalLLC4320Model() to download data,The model data is converted into the netcdf format and often reports errors such as TimeoutError and FSTimeoutError. What should I do? Thank you in advance, timothyas. 截屏2025-01-08 18 48 16 截屏2025-01-08 18 48 28

shu-duo avatar Jan 08 '25 10:01 shu-duo

It might be timing out if you are trying to create a gigantic dataset. I would start with just a few timesteps, 1 or 2 variables, and a handful of vertical levels.

timothyas avatar Jan 10 '25 16:01 timothyas