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

Settings centralised #6

Merged
merged 2 commits into from
Apr 6, 2021
Merged

Settings centralised #6

merged 2 commits into from
Apr 6, 2021

Conversation

emiliano-gelati
Copy link

No description provided.

- Bash install script using test conda env file
- CSV file with site names and coordinates
- Settings file centralising input information
  (only from workflow_setup_site_simulation.sh)
- Python script reading settings and executing 1st step of input
  preparation (mknoocnmap.pl)
@huitang-earth huitang-earth merged commit 759e986 into NorESMhub:platform_dev Apr 6, 2021
@emiliano-gelati
Copy link
Author

emiliano-gelati commented Apr 8, 2021

Hi @lasseke , @ziu1986 , @huitang-earth, @sunnivin,

To reproduce this test workflow on a FRAM login node (on SAGA some changes are needed, e.g. the Conda module to be loaded):

  1. git clone -b platform_dev https://github.com/NorESMhub/NorESM_LandSites_Platform.git YOUR_FOLDER
  2. set dir_plaform = YOUR_FOLDER in the settings file YOUR_FOLDER/settings.txt.
  3. run YOUR_FOLDER/install.sh
  4. I recommend running conda clean --all to remove cached packages in ~/.conda/pkgs, as I experienced that large number of files there could exceed the storage quota.
  5. run YOUR_FOLDER/LandsitesTools/prepare_input.sh, which is a wrapper around YOUR_FOLDER/LandsitesTools/prepare_input.py: execution will stop at the end of the program on a Python debugger breakpoint so that variables can be inspected.

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

Successfully merging this pull request may close these issues.

2 participants