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

3 transfer source code structure from old version #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ cython_debug/
data/*
!data/README.md
**/*.nc
#!config/output_rolemodel/*.nc
**/*.tif


# Makefile and configurations
Makefile.private
scripts/config.sh
Empty file.
Empty file.
Empty file.
Empty file added climateset/raw/raw_processor.py
Empty file.
Empty file.
Empty file.
Empty file.
18 changes: 18 additions & 0 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@ This folder is for configurations, like:
- Training parameters
- Script parameters
- etc.

The following configs need to be adapted by the user:
- main_config.yaml
- downloader
- cmip6 processor
- input4mips processor

If you are adding a new variables, please edit:
- units

If you are using a new output resolution (i.e. you are not using NorESM as "role model" for the output resolution), please edit:
- resolutions
- output_rolemodel

## Output Role Model
This is the only config directory that has not a yaml file, but a netcdf file. Please store here the role model of your desired output data. The default is NorESM, i.e. all files will be aligned to have the same resolution format like NorESM (in terms of where longitude / latitude points start, step size, etc.).


1 change: 1 addition & 0 deletions config/cdo/cdo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# add cdo constants
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions config/main_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# TODO add data paths here?

# TODO link all the other configs
5 changes: 5 additions & 0 deletions config/resolutions/resolutions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# TODO add remapping

# TODO add calendar

# TODO add long / lats (min, max, step)
3 changes: 3 additions & 0 deletions config/units/units.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# add units of all variables

# TODO every time you use a new variable it needs to be added here
Empty file added scripts/cdo/get_co2_data.sh
Empty file.
Empty file added scripts/cdo/prepare_CH4.sh
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added tests/test_cmip6_processor.py
Empty file.
Empty file added tests/test_downloader.py
Empty file.
Empty file.
Empty file added tests/test_res_processor.py
Empty file.
Loading