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

cmorize_obs is broken #1739

Closed
bascrezee opened this issue Jul 10, 2020 · 8 comments
Closed

cmorize_obs is broken #1739

bascrezee opened this issue Jul 10, 2020 · 8 comments
Assignees

Comments

@bascrezee
Copy link
Contributor

My guess would be that it is related to the recent change to using fire. 🔥

$ cmorize_obs -c config-ETH-LANDCLIM.yml -o MERRA2

Traceback (most recent call last):
  File "/net/exo/landclim/crezees/conda/envs/esmvaltool-public/bin/cmorize_obs", line 11, in <module>
    load_entry_point('ESMValTool', 'console_scripts', 'cmorize_obs')()
  File "/home/crezees/ESMValTool/esmvaltool/cmorizers/obs/cmorize_obs.py", line 166, in main
    config_user = read_config_user_file(config_file, 'cmorize_obs')
TypeError: read_config_user_file() missing 1 required positional argument: 'options'
@mattiarighi
Copy link
Contributor

See ESMValGroup/ESMValCore#709

@bascrezee
Copy link
Contributor Author

Thanks. Good to have a branch where it is working for now.

@mattiarighi
Copy link
Contributor

Plan to merge it soon.

@bascrezee
Copy link
Contributor Author

bascrezee commented Jul 13, 2020

Thanks. So how am I supposed to run it now? I don't get cmorize_obs working yet with the following commands:

cmorize_obs -c config-ETH-LANDCLIM.yml -o CDS-SATELLITE-SOIL-MOISTURE

cmorize_obs -o CDS-SATELLITE-SOIL-MOISTURE

@mattiarighi
Copy link
Contributor

--config_file instead of -c should do it.

@bascrezee
Copy link
Contributor Author

Hmmm, not yet.

$   cmorize_obs --config-file config-ETH-LANDCLIM.yml -o CDS-SATELLITE-SOIL-MOISTURE

Traceback (most recent call last):
  File "/conda/envs/esmvaltool-public/bin/cmorize_obs", line 11, in <module>
    load_entry_point('ESMValTool', 'console_scripts', 'cmorize_obs')()
  File "/ESMValTool/esmvaltool/cmorizers/obs/cmorize_obs.py", line 175, in main
    output=run_dir, console_log_level=config_user['log_level'])
TypeError: configure_logging() got an unexpected keyword argument 'output'


@mattiarighi
Copy link
Contributor

Please report on ESMValGroup/ESMValCore#709

@bouweandela bouweandela transferred this issue from ESMValGroup/ESMValCore Jul 20, 2020
@mattiarighi
Copy link
Contributor

Fixed by #1721

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