Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
toargridding
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
toar-public
toargridding
Merge requests
!1
added jupyter as dependency
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
added jupyter as dependency
11-carsten_todo_documentation_-11_poetryinreadme
into
dev
Overview
0
Commits
4
Pipelines
0
Changes
2
Merged
Carsten Hinz
requested to merge
11-carsten_todo_documentation_-11_poetryinreadme
into
dev
10 months ago
Overview
0
Commits
4
Pipelines
0
Changes
2
Expand
added info how to run scripts/notebooks with poetry
Closes
#11 (closed)
0
0
Merge request reports
Compare
dev
version 1
6f7abab7
10 months ago
dev (base)
and
latest version
latest version
6f7abab7
4 commits,
10 months ago
version 1
6f7abab7
4 commits,
10 months ago
2 files
+
17
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
README.md
+
16
−
6
Options
@@ -27,23 +27,33 @@ Clone the project from its git repository:
```
git clone https://gitlab.jsc.fz-juelich.de/esde/toar-public/toargridding.git
```
With git we need to checkout the development branch. Therefore we need to change to the project directory first:
With git we need to checkout the development branch
(dev)
. Therefore we need to change to the project directory first:
```
cd toargridding
git checkout dev
```
## Installing Dependencies
## Installing Dependencies
and Setting up Virtual Enviorment
The handling of required packages is done with poetry. So run poetry in the project directory:
The handling of required packages is done with poetry (https://python-poetry.org/).
After installing poetry, you can simply install all required dependencies for this project by runing poetry in the project directory:
```
poetry install
```
This also creates a virtual enviorment, which ensures that different projects do not interfere with their dependencies.
To run a jupyter notebook in the virtual enviorment execute
```
poetry run jupyter notebook
```
and to run a script use
```
poetry run python [/path/to/scriptname.py]
```
# How does this tool work?
This tool has two main parts. The first handles requests to the TOAR database and the analysis of the data.
The second part is the gridding, which is performed offline
The second part is the gridding, which is performed offline
.
## Request to TOAR Database with Statistical Analysis
@@ -80,8 +90,8 @@ Provides an example on how to download data, apply gridding and save the results
The AnalysisServiceDownload caches already obtained data on the local machine.
This allows different griddings without the necessity to repeat the request to the TOARDB and subsequent download.
In total two requests are executed.
The example uses a dictionary to pass additional arguments to the request to the TAOR database (here: station category from TOAR).
In total two requests are executed
by requesting different different statistical quantities (mean & dma8epax)
.
The example uses a dictionary to pass additional arguments to the request to the TAOR database (here: station category from TOAR
1
).
A detailed list can be found at https://toar-data.fz-juelich.de/api/v2/#stationmeta
```
Loading