grdwindinversion 0.2.3.post15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- grdwindinversion/.github/ISSUE_TEMPLATE.md +15 -0
- grdwindinversion/.gitignore +106 -0
- grdwindinversion/.travis.yml +28 -0
- grdwindinversion/__init__.py +14 -0
- grdwindinversion/config_prod.yaml +45 -0
- grdwindinversion/config_prod_recal.yaml +45 -0
- grdwindinversion/data_config.yaml +5 -0
- grdwindinversion/inversion.py +1002 -0
- grdwindinversion/load_config.py +24 -0
- grdwindinversion/main.py +59 -0
- grdwindinversion/streaks.py +79 -0
- grdwindinversion/utils.py +42 -0
- grdwindinversion-0.2.3.post15.dist-info/AUTHORS.rst +14 -0
- grdwindinversion-0.2.3.post15.dist-info/LICENSE +22 -0
- grdwindinversion-0.2.3.post15.dist-info/METADATA +80 -0
- grdwindinversion-0.2.3.post15.dist-info/RECORD +19 -0
- grdwindinversion-0.2.3.post15.dist-info/WHEEL +5 -0
- grdwindinversion-0.2.3.post15.dist-info/entry_points.txt +2 -0
- grdwindinversion-0.2.3.post15.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
* grdwindinversion version:
|
|
2
|
+
* Python version:
|
|
3
|
+
* Operating System:
|
|
4
|
+
|
|
5
|
+
### Description
|
|
6
|
+
|
|
7
|
+
Describe what you were trying to get done.
|
|
8
|
+
Tell us what happened, what went wrong, and what you expected to happen.
|
|
9
|
+
|
|
10
|
+
### What I Did
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Paste the command(s) you ran and the output.
|
|
14
|
+
If there was a crash, please include the traceback here.
|
|
15
|
+
```
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
|
|
28
|
+
# PyInstaller
|
|
29
|
+
# Usually these files are written by a python script from a template
|
|
30
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
31
|
+
*.manifest
|
|
32
|
+
*.spec
|
|
33
|
+
|
|
34
|
+
# Installer logs
|
|
35
|
+
pip-log.txt
|
|
36
|
+
pip-delete-this-directory.txt
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.coverage
|
|
42
|
+
.coverage.*
|
|
43
|
+
.cache
|
|
44
|
+
nosetests.xml
|
|
45
|
+
coverage.xml
|
|
46
|
+
*.cover
|
|
47
|
+
.hypothesis/
|
|
48
|
+
.pytest_cache/
|
|
49
|
+
|
|
50
|
+
# Translations
|
|
51
|
+
*.mo
|
|
52
|
+
*.pot
|
|
53
|
+
|
|
54
|
+
# Django stuff:
|
|
55
|
+
*.log
|
|
56
|
+
local_settings.py
|
|
57
|
+
|
|
58
|
+
# Flask stuff:
|
|
59
|
+
instance/
|
|
60
|
+
.webassets-cache
|
|
61
|
+
|
|
62
|
+
# Scrapy stuff:
|
|
63
|
+
.scrapy
|
|
64
|
+
|
|
65
|
+
# Sphinx documentation
|
|
66
|
+
docs/_build/
|
|
67
|
+
|
|
68
|
+
# PyBuilder
|
|
69
|
+
target/
|
|
70
|
+
|
|
71
|
+
# Jupyter Notebook
|
|
72
|
+
.ipynb_checkpoints
|
|
73
|
+
|
|
74
|
+
# pyenv
|
|
75
|
+
.python-version
|
|
76
|
+
|
|
77
|
+
# celery beat schedule file
|
|
78
|
+
celerybeat-schedule
|
|
79
|
+
|
|
80
|
+
# SageMath parsed files
|
|
81
|
+
*.sage.py
|
|
82
|
+
|
|
83
|
+
# dotenv
|
|
84
|
+
.env
|
|
85
|
+
|
|
86
|
+
# virtualenv
|
|
87
|
+
.venv
|
|
88
|
+
venv/
|
|
89
|
+
ENV/
|
|
90
|
+
|
|
91
|
+
# Spyder project settings
|
|
92
|
+
.spyderproject
|
|
93
|
+
.spyproject
|
|
94
|
+
|
|
95
|
+
# Rope project settings
|
|
96
|
+
.ropeproject
|
|
97
|
+
|
|
98
|
+
# mkdocs documentation
|
|
99
|
+
/site
|
|
100
|
+
|
|
101
|
+
# mypy
|
|
102
|
+
.mypy_cache/
|
|
103
|
+
|
|
104
|
+
# IDE settings
|
|
105
|
+
.vscode/
|
|
106
|
+
.idea/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Config file for automatic testing at travis-ci.com
|
|
2
|
+
|
|
3
|
+
language: python
|
|
4
|
+
python:
|
|
5
|
+
- 3.8
|
|
6
|
+
- 3.7
|
|
7
|
+
- 3.6
|
|
8
|
+
|
|
9
|
+
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
|
10
|
+
install: pip install -U tox-travis
|
|
11
|
+
|
|
12
|
+
# Command to run tests, e.g. python setup.py test
|
|
13
|
+
script: tox
|
|
14
|
+
|
|
15
|
+
# Assuming you have installed the travis-ci CLI tool, after you
|
|
16
|
+
# create the Github repo and add it to Travis, run the
|
|
17
|
+
# following command to finish PyPI deployment setup:
|
|
18
|
+
# $ travis encrypt --add deploy.password
|
|
19
|
+
deploy:
|
|
20
|
+
provider: pypi
|
|
21
|
+
distributions: sdist bdist_wheel
|
|
22
|
+
user: agrouaze
|
|
23
|
+
password:
|
|
24
|
+
secure: PLEASE_REPLACE_ME
|
|
25
|
+
on:
|
|
26
|
+
tags: true
|
|
27
|
+
repo: agrouaze/grdwindinversion
|
|
28
|
+
python: 3.8
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
__all__ = ['inversion']
|
|
2
|
+
# try:
|
|
3
|
+
# from importlib import metadata
|
|
4
|
+
# except ImportError: # for Python<3.8
|
|
5
|
+
# import importlib_metadata as metadata
|
|
6
|
+
# __version__ = metadata.version('grdwindinversion')
|
|
7
|
+
from grdwindinversion import *
|
|
8
|
+
from importlib.metadata import version
|
|
9
|
+
from grdwindinversion.inversion import inverse
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
__version__ = version("grdwindinversion")
|
|
13
|
+
except Exception:
|
|
14
|
+
__version__ = "999"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
no_subdir: True
|
|
2
|
+
S1A:
|
|
3
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
4
|
+
GMF_VH_NAME: "gmf_s1_v2"
|
|
5
|
+
dsig_VH_NAME: "gmf_s1_v2"
|
|
6
|
+
apply_flattening: True
|
|
7
|
+
recalibration: False
|
|
8
|
+
ancillary: "ecmwf"
|
|
9
|
+
inc_step: 0.1
|
|
10
|
+
wspd_step: 0.1
|
|
11
|
+
phi_step: 1.0
|
|
12
|
+
resolution: "high"
|
|
13
|
+
S1B:
|
|
14
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
15
|
+
GMF_VH_NAME: "gmf_s1_v2"
|
|
16
|
+
dsig_VH_NAME: "gmf_s1_v2"
|
|
17
|
+
apply_flattening: True
|
|
18
|
+
recalibration: False
|
|
19
|
+
ancillary: "ecmwf"
|
|
20
|
+
inc_step: 0.1
|
|
21
|
+
wspd_step: 0.1
|
|
22
|
+
phi_step: 1.0
|
|
23
|
+
resolution: "high"
|
|
24
|
+
RS2:
|
|
25
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
26
|
+
GMF_VH_NAME: "gmf_rs2_v2"
|
|
27
|
+
dsig_VH_NAME: "gmf_rs2_v2"
|
|
28
|
+
apply_flattening: False
|
|
29
|
+
recalibration: False
|
|
30
|
+
ancillary: "ecmwf"
|
|
31
|
+
inc_step: 0.1
|
|
32
|
+
wspd_step: 0.1
|
|
33
|
+
phi_step: 1.0
|
|
34
|
+
resolution: "high"
|
|
35
|
+
RCM:
|
|
36
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
37
|
+
GMF_VH_NAME: "gmf_rcm_noaa"
|
|
38
|
+
dsig_VH_NAME: "gmf_s1_v2"
|
|
39
|
+
apply_flattening: True
|
|
40
|
+
recalibration: False
|
|
41
|
+
ancillary: "ecmwf"
|
|
42
|
+
inc_step: 0.1
|
|
43
|
+
wspd_step: 0.1
|
|
44
|
+
phi_step: 1.0
|
|
45
|
+
resolution: "high"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
no_subdir: True
|
|
2
|
+
S1A:
|
|
3
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
4
|
+
GMF_VH_NAME: "gmf_s1_v2"
|
|
5
|
+
dsig_VH_NAME: "gmf_s1_v2"
|
|
6
|
+
apply_flattening: True
|
|
7
|
+
recalibration: True
|
|
8
|
+
ancillary: "ecmwf"
|
|
9
|
+
inc_step: 0.1
|
|
10
|
+
wspd_step: 0.1
|
|
11
|
+
phi_step: 1.0
|
|
12
|
+
resolution: "high"
|
|
13
|
+
S1B:
|
|
14
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
15
|
+
GMF_VH_NAME: "gmf_s1_v2"
|
|
16
|
+
dsig_VH_NAME: "gmf_s1_v2"
|
|
17
|
+
apply_flattening: True
|
|
18
|
+
recalibration: True
|
|
19
|
+
ancillary: "ecmwf"
|
|
20
|
+
inc_step: 0.1
|
|
21
|
+
wspd_step: 0.1
|
|
22
|
+
phi_step: 1.0
|
|
23
|
+
resolution: "high"
|
|
24
|
+
RS2:
|
|
25
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
26
|
+
GMF_VH_NAME: "gmf_rs2_v2"
|
|
27
|
+
dsig_VH_NAME: "gmf_rs2_v2"
|
|
28
|
+
apply_flattening: False
|
|
29
|
+
recalibration: True
|
|
30
|
+
ancillary: "ecmwf"
|
|
31
|
+
inc_step: 0.1
|
|
32
|
+
wspd_step: 0.1
|
|
33
|
+
phi_step: 1.0
|
|
34
|
+
resolution: "high"
|
|
35
|
+
RCM:
|
|
36
|
+
GMF_VV_NAME: "gmf_cmod5n"
|
|
37
|
+
GMF_VH_NAME: "gmf_rcm_noaa"
|
|
38
|
+
dsig_VH_NAME: "gmf_s1_v2"
|
|
39
|
+
apply_flattening: True
|
|
40
|
+
recalibration: True
|
|
41
|
+
ancillary: "ecmwf"
|
|
42
|
+
inc_step: 0.1
|
|
43
|
+
wspd_step: 0.1
|
|
44
|
+
phi_step: 1.0
|
|
45
|
+
resolution: "high"
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#'ecmwf_0100_1h': '../ecmwf/forecast/hourly/0100deg/netcdf_light_REPRO_tree/%Y/%j/ECMWF_FORECAST_0100_%Y%m%d%H%M_10U_10V.nc'
|
|
2
|
+
#'ecmwf_0125_1h': '../ecmwf/0.125deg/1h/forecasts/%Y/%j/ecmwf_%Y%m%d%H%M.nc'
|
|
3
|
+
|
|
4
|
+
'ecmwf_0100_1h': '/home/datawork-cersat-public/provider/ecmwf/forecast/hourly/0100deg/netcdf_light_REPRO_tree/%Y/%j/ECMWF_FORECAST_0100_%Y%m%d%H%M_10U_10V.nc'
|
|
5
|
+
'ecmwf_0125_1h': '/home/datawork-cersat-intranet/project/ecmwf/0.125deg/1h/forecasts/%Y/%j/ecmwf_%Y%m%d%H%M.nc'
|