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

Errors associated with FLUXCOM/reco.nc and FLUXCOM/gpp.nc #89

Open
olyson opened this issue Feb 24, 2024 · 7 comments
Open

Errors associated with FLUXCOM/reco.nc and FLUXCOM/gpp.nc #89

olyson opened this issue Feb 24, 2024 · 7 comments

Comments

@olyson
Copy link
Contributor

olyson commented Feb 24, 2024

I'm getting errors associated with new versions of FLUXCOM/reco.nc and FLUXCOM/gpp.nc datasets. I see that the reco and gpp variables in these files are ordered (lat,lon,time) instead of (time,lat,lon), e.g.,

    float gpp(lat, lon, time) ;
            gpp:_FillValue = nanf ;
            gpp:long_name = "GPP" ;
            gpp:units = "g m-2 day-1" ;

I'm wondering if this is what is causing the error. An example error is:

[DEBUG][3][WorkConfront][EcosystemRespiration/FLUXCOM][CLM50] Traceback (most recent call last): File "/glade/campaign/cesm/community/lmwg/diag/ILAMB/CODE/ilamb/bin/ilamb-run", line 561, in WorkConfront c.confront(m) File "/glade/work/oleson/conda-envs/ilamb_casper_lmwg/lib/python3.7/site-packages/ILAMB/Confrontation.py", line 431, in confront obs, mod = self.stageData(m) File "/glade/work/oleson/conda-envs/ilamb_casper_lmwg/lib/python3.7/site-packages/ILAMB/Confrontation.py", line 376, in stageData lons=None if obs.spatial else obs.lon, File "/glade/work/oleson/conda-envs/ilamb_casper_lmwg/lib/python3.7/site-packages/ILAMB/ModelResult.py", line 345, in extractTimeSeries assert lats.shape == lons.shape AssertionError

@nocollier
Copy link
Collaborator

nocollier commented Feb 25, 2024 via email

@evasinha
Copy link

evasinha commented Apr 9, 2024

@nocollier I am getting the same error described above. I am using ILAMB version 2.7. How can I resolve this error?

@nocollier
Copy link
Collaborator

nocollier commented Apr 9, 2024 via email

@nocollier
Copy link
Collaborator

nocollier commented Apr 9, 2024 via email

@evasinha
Copy link

evasinha commented Apr 9, 2024

@nocollier I ran ilamb-fetch in the DATA folder . This updated a bunch of files. But when I run ILAMB, I still get the assert lats.shape == lons.shape AssertionError.

@evasinha
Copy link

evasinha commented Apr 9, 2024

I ran the ilamb-fetch again and this time it found four updated files related to FLUXCOM. I guess for some reason in the previous ilamb-fetch those updated files were not detected.

@evasinha
Copy link

evasinha commented Apr 9, 2024

@nocollier the updated/new FLUXCOM files have resolved the issue. Thanks for updating the data files.

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

3 participants