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

namelist_byvar/namelist_* file creation issue #14

Open
phillips-ad opened this issue Mar 12, 2021 · 0 comments
Open

namelist_byvar/namelist_* file creation issue #14

phillips-ad opened this issue Mar 12, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@phillips-ad
Copy link
Collaborator

A combined set of directory structure and file naming conditions can lead the CVDP-LE to not see data files.

Two conditions must be met to trigger the bug:
1 - Variable names are at the beginning of the file name. (ex. pr_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc)
2 - All run data for every variable is in one directory.

If those two conditions are met, the CVDP-LE may not see any files in the model run directory.
An example of the problematic structure/file names:
ls /project/CanESM2
pr_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
tas_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
pr_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc
tas_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc
psl_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
ts_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
psl_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc
ts_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc

To allow the CVDP-LE to see the data, the above files should be put into variable directories:
mkdir pr tas psl ts
mv pr_* pr/
mv tas_* tas/
mv psl_* psl/
mv ts_* ts/
ls /
pr/pr_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
tas/tas_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
pr/pr_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc
tas/tas_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc
psl/psl_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
ts/ts_Amon_CanESM2_historical_rcp85_r1i1p1_195001-210012.nc
psl/psl_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc
ts/ts_Amon_CanESM2_historical_rcp85_r2i1p1_195001-210012.nc

@phillips-ad phillips-ad added the bug Something isn't working label Mar 12, 2021
@phillips-ad phillips-ad self-assigned this Mar 12, 2021
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