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

Derived ocnBgchem variables can't find FX files on jasmin #773

Closed
ledm opened this issue Dec 19, 2018 · 7 comments
Closed

Derived ocnBgchem variables can't find FX files on jasmin #773

ledm opened this issue Dec 19, 2018 · 7 comments
Assignees
Labels

Comments

@ledm
Copy link
Contributor

ledm commented Dec 19, 2018

I'm attempting to test the ocean biogeochemistry recipe on jasmin and I've encountered the following bug when evaluating the derived variable gtfgco2. I believe that this bug arises due to the absence of ocnBgchem-specific FX files. However, this is not a problem that appears with normal (non-derived) variables in the same recipe.

Note that I had not encounter this problem on my local machine, as the path to the FX files was much less complex. This is so far only a problem for me on Jasmin.

When calculating the derived variable, gtfgco2, ESMValTool looks for the FX files in the following location on jasmin:

/badc/cmip5/data/cmip5/output1/*/*/historical/fx/ocnBgchem/fx/r0i0p0/latest/areacello

However, there is no ocnBgchem folder, as the FX files only exist in the atmos, land, & ocean directories (for most cmip5 models). For example, see:

/badc/cmip5/data/cmip5/output1/*/*/historical/fx/ocean/fx/r0i0p0/latest/areacello

Is there a way to explicitly require the derived variable to use the ocean FX files if the ocnBgchem FX files are not available?

I imagine that similar problems may arise for derived variables in atmospheric chemistry, sea ice, as well as ocean biogeochemistry, as many models do not always include FX files.

@ledm ledm added the bug label Dec 19, 2018
@ledm ledm changed the title ocnBgchem FX files on jasmin Derived ocnBgchem variables can't find FX files on jasmin Dec 19, 2018
@valeriupredoi
Copy link
Contributor

this a8d25ae should fix this issue - @bouweandela you owe me a beer since this used to work before the _data_finder re-haul 😁

@bouweandela
Copy link
Member

To me it looks like this problem is not related to derived variables, because you are unable to find the fx file for the normal variable fgco2, which is used to derive gtfgco2. Apparently it is not stored in the realm listed with the variable in the cmor table.

@valeriupredoi
Copy link
Contributor

valeriupredoi commented Jan 10, 2019 via email

@ledm
Copy link
Contributor Author

ledm commented Jan 15, 2019

Apologies for the delay, but I'm pretty sure that this patch has worked.

I've run it over the gtfgco2 variable by itself, and now I'm checking the entire recipe_ocean_bgc.yml recipe to make sure.

@valeriupredoi
Copy link
Contributor

@ledm can we close this?

@ledm
Copy link
Contributor Author

ledm commented Jan 28, 2019

yep!

@ledm ledm closed this as completed Jan 28, 2019
@bouweandela
Copy link
Member

I recommend not closing issues until the PR in which they are solved is actually merged.

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

No branches or pull requests

3 participants