Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the use of read_nctiles #19

Open
GC0225 opened this issue Feb 9, 2023 · 1 comment
Open

Question about the use of read_nctiles #19

GC0225 opened this issue Feb 9, 2023 · 1 comment

Comments

@GC0225
Copy link

GC0225 commented Feb 9, 2023

I have copy the update commit 'read_nctiles', but when I read the variables to calculate the volume budget like this:
oceFWflx = read_nctiles( [dir1,'oceFWflx/','oceFWflx'],'oceFWflx',ii )
It will show that '/ECCOv4r4/nctiles_monthly/oceFWflx/oceFWflx.0001.nc not found in the current directory'.
Actually, I noticed that the file named by oceFWflx.0001.nc didn't exist in the ECCOv4r4, in which the files are stored in sub-directories of different year and named by the months, rather than divided into 13 tiles like v4r3.
So how can I solve it and read the variables successfully to calculate the volume budget with v4r4?

@owang01
Copy link
Contributor

owang01 commented Feb 17, 2023

@bitterground I can use the updated read_nctiles in PR #17 to read V4r4's files (organized by year and month) without issue (see below). Could it be in your case somehow the path is not specified correctly?

dir1='ECCO/Release4/nctiles_monthly/';
ii=3;
oceFWflx = read_nctiles( [dir1,'oceFWflx/','oceFWflx'],'oceFWflx',ii)
nFaces: 5

  f1: [90x270 double]
  f2: [90x270 double]
  f3: [90x90 double] 
  f4: [270x90 double]
  f5: [270x90 double]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants