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

Error reading lvt.config for NLDAS2 when it is the second data source in an intercomparison #1526

Open
cbblanke opened this issue Apr 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cbblanke
Copy link

Bug Description

When running with LVT running mode: "Data intercomparison" and "NLDAS2" as the second data type,
LVT gives an error "NLDAS2 data directory: not defined" even though it is defined in the config file.

This happens the SECOND time it LVT tries to find this line. In NLDAS2_dataMod.F90, it loops
k=1,i where i is 2 (the second data type) and it fails on the second attempt.
Putting the same line in the config file twice did not help.

Some of the other readers do not have this loop, and just set the variable (e.g. Merra2obs(i)%odir)
for the index i (which is 1 or 2 but does not change within the subroutine).

Steps to Replicate

See above.

Trying to fix but not sure what the intended behavior is. I don't know why the NLDAS2obs() structure is an array in the first
place. Is it intended that you can have NLDAS2 for both the first and second data types? If so, there needs to be an example
of how to set up the config file.

@cbblanke cbblanke added the bug Something isn't working label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant