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

Fix ssa netcdf output #114

Open
matthiasmengel opened this issue Dec 12, 2024 · 2 comments
Open

Fix ssa netcdf output #114

matthiasmengel opened this issue Dec 12, 2024 · 2 comments

Comments

@matthiasmengel
Copy link
Member

I just tried to run the ssa code

attrici ssa /p/tmp/mengel/attrici/input/20CRv3-W5E5/tas_20crv3-w5e5_gmt.nc4 /p/tmp/mengel/attrici/input/20CRv3-W5E5/tas_20crv3-w5e5_gmt_ssa.nc

But the nc files seems not easy to handle for the standard tools.

(attrici_dev)~/projects/attrici > nv /p/tmp/mengel/attrici/input/20CRv3-W5E5/tas_20crv3-w5e5_gmt_ssa.nc
[1] 638194
(attrici_dev)~/projects/attrici > Ncview 2.1.10 David W. Pierce 7 February 2024
https://cirrus.ucsd.edu/ncview/
Copyright (C) 1993 through 2024, David W. Pierce
Ncview comes with ABSOLUTELY NO WARRANTY; for details type `ncview -w'.
This is free software licensed under the Gnu General Public License version 3; type `ncview -c' for redistribution details.

no displayable variables found!

[1]+  Exit 255                ncview "$@" > /dev/null
(attrici_dev)~/projects/attrici > 
(attrici_dev)~/projects/attrici > 
(attrici_dev)~/projects/attrici > cdo sinfo /p/tmp/mengel/attrici/input/20CRv3-W5E5/tas_20crv3-w5e5_gmt_ssa.nc
cdi  warning (cdfInqContents): No data arrays found!
cdo    sinfo: Open failed on >/p/tmp/mengel/attrici/input/20CRv3-W5E5/tas_20crv3-w5e5_gmt_ssa.nc<
              Unsupported file structure
@rgieseke
Copy link
Collaborator

Can you post the output of ncdump -h tas_20crv3-w5e5_gmt.nc4 and ncdump -h 20CRv3-W5E5/tas_20crv3-w5e5_gmt_ssa.nc?

@rgieseke
Copy link
Collaborator

We were missing setting the 'time' dimension properly. Should work now!

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