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
Commits
3ee81cb4
Commit
3ee81cb4
authored
11 months ago
by
Carsten Hinz
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into wip_tests_and_notebooks
parents
9f2480ac
76cebb89
No related branches found
No related tags found
1 merge request
!11
Creation of first beta release version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+16
-6
16 additions, 6 deletions
README.md
pyproject.toml
+1
-0
1 addition, 0 deletions
pyproject.toml
with
17 additions
and
6 deletions
README.md
+
16
−
6
View file @
3ee81cb4
...
...
@@ -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
```
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
0
View file @
3ee81cb4
...
...
@@ -20,6 +20,7 @@ ipykernel = "^6.26.0"
compliance-checker
=
"^5.1.0"
cartopy
=
"^0.22.0"
ruff
=
"^0.1.13"
jupyter
=
"^1.0.0"
[build-system]
requires
=
[
"poetry-core"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment