pypromice 1.3.5__py3-none-any.whl → 1.4.0__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.

Potentially problematic release.


This version of pypromice might be problematic. Click here for more details.

Files changed (55) hide show
  1. pypromice/get/get.py +19 -19
  2. pypromice/postprocess/bufr_to_csv.py +6 -1
  3. pypromice/postprocess/bufr_utilities.py +91 -18
  4. pypromice/postprocess/create_bufr_files.py +178 -0
  5. pypromice/postprocess/get_bufr.py +248 -397
  6. pypromice/postprocess/make_metadata_csv.py +214 -0
  7. pypromice/postprocess/real_time_utilities.py +41 -11
  8. pypromice/process/L0toL1.py +12 -5
  9. pypromice/process/L1toL2.py +159 -30
  10. pypromice/process/L2toL3.py +1034 -187
  11. pypromice/process/aws.py +131 -752
  12. pypromice/process/get_l2.py +90 -0
  13. pypromice/process/get_l2tol3.py +111 -0
  14. pypromice/process/join_l2.py +112 -0
  15. pypromice/process/join_l3.py +551 -120
  16. pypromice/process/load.py +161 -0
  17. pypromice/process/resample.py +128 -0
  18. pypromice/process/utilities.py +68 -0
  19. pypromice/process/write.py +503 -0
  20. pypromice/qc/github_data_issues.py +10 -16
  21. pypromice/qc/percentiles/thresholds.csv +2 -2
  22. pypromice/qc/persistence.py +71 -25
  23. pypromice/resources/__init__.py +28 -0
  24. pypromice/{process/metadata.csv → resources/file_attributes.csv} +0 -2
  25. pypromice/resources/variable_aliases_GC-Net.csv +78 -0
  26. pypromice/resources/variables.csv +106 -0
  27. pypromice/station_configuration.py +118 -0
  28. pypromice/tx/get_l0tx.py +7 -4
  29. pypromice/tx/payload_formats.csv +1 -0
  30. pypromice/tx/tx.py +27 -6
  31. pypromice/utilities/__init__.py +0 -0
  32. pypromice/utilities/git.py +61 -0
  33. {pypromice-1.3.5.dist-info → pypromice-1.4.0.dist-info}/METADATA +12 -21
  34. pypromice-1.4.0.dist-info/RECORD +53 -0
  35. {pypromice-1.3.5.dist-info → pypromice-1.4.0.dist-info}/WHEEL +1 -1
  36. pypromice-1.4.0.dist-info/entry_points.txt +13 -0
  37. pypromice/postprocess/station_configurations.toml +0 -762
  38. pypromice/process/get_l3.py +0 -46
  39. pypromice/process/variables.csv +0 -92
  40. pypromice/qc/persistence_test.py +0 -150
  41. pypromice/test/test_config1.toml +0 -69
  42. pypromice/test/test_config2.toml +0 -54
  43. pypromice/test/test_email +0 -75
  44. pypromice/test/test_payload_formats.csv +0 -4
  45. pypromice/test/test_payload_types.csv +0 -7
  46. pypromice/test/test_percentile.py +0 -229
  47. pypromice/test/test_raw1.txt +0 -4468
  48. pypromice/test/test_raw_DataTable2.txt +0 -11167
  49. pypromice/test/test_raw_SlimTableMem1.txt +0 -1155
  50. pypromice/test/test_raw_transmitted1.txt +0 -15411
  51. pypromice/test/test_raw_transmitted2.txt +0 -28
  52. pypromice-1.3.5.dist-info/RECORD +0 -53
  53. pypromice-1.3.5.dist-info/entry_points.txt +0 -8
  54. {pypromice-1.3.5.dist-info → pypromice-1.4.0.dist-info}/LICENSE.txt +0 -0
  55. {pypromice-1.3.5.dist-info → pypromice-1.4.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypromice
3
- Version: 1.3.5
3
+ Version: 1.4.0
4
4
  Summary: PROMICE/GC-Net data processing toolbox
5
5
  Home-page: https://github.com/GEUS-Glaciology-and-Climate/pypromice
6
6
  Author: GEUS Glaciology and Climate
@@ -18,16 +18,16 @@ Classifier: Operating System :: OS Independent
18
18
  Requires-Python: >=3.8
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE.txt
21
- Requires-Dist: numpy >=1.23.0
21
+ Requires-Dist: numpy ~=1.23
22
22
  Requires-Dist: pandas >=1.5.0
23
23
  Requires-Dist: xarray >=2022.6.0
24
24
  Requires-Dist: toml
25
25
  Requires-Dist: scipy >=1.9.0
26
- Requires-Dist: scikit-learn >=1.1.0
27
26
  Requires-Dist: Bottleneck
28
27
  Requires-Dist: netcdf4
29
- Requires-Dist: pyDataverse
28
+ Requires-Dist: pyDataverse ==0.3.1
30
29
  Requires-Dist: eccodes
30
+ Requires-Dist: scikit-learn >=1.1.0
31
31
 
32
32
  # pypromice
33
33
  [![PyPI version](https://badge.fury.io/py/pypromice.svg)](https://badge.fury.io/py/pypromice) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/pypromice/badges/version.svg)](https://anaconda.org/conda-forge/pypromice) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/pypromice/badges/platforms.svg)](https://anaconda.org/conda-forge/pypromice) [![](<https://img.shields.io/badge/Dataverse DOI-10.22008/FK2/3TSBF0-orange>)](https://www.doi.org/10.22008/FK2/3TSBF0) [![DOI](https://joss.theoj.org/papers/10.21105/joss.05298/status.svg)](https://doi.org/10.21105/joss.05298) [![Documentation Status](https://readthedocs.org/projects/pypromice/badge/?version=latest)](https://pypromice.readthedocs.io/en/latest/?badge=latest)
@@ -58,7 +58,14 @@ $ conda install pypromice -c conda-forge
58
58
  $ pip install pypromice
59
59
  ```
60
60
 
61
- For the most up-to-date version, pypromice can be installed directly from the repo:
61
+ The [eccodes](https://confluence.ecmwf.int/display/ECC/ecCodes+installation) package for pypromice's post-processing functionality needs to be installed specifically in the pip distribution:
62
+
63
+ ```
64
+ $ conda install eccodes -c conda-forge
65
+ $ pip install pypromice
66
+ ```
67
+
68
+ And for the most up-to-date version of pypromice, the package can be cloned and installed directly from the repo:
62
69
 
63
70
  ```
64
71
  $ pip install --upgrade git+http://github.com/GEUS-Glaciology-and-Climate/pypromice.git
@@ -76,19 +83,3 @@ $ cd pypromice/
76
83
  $ pip install .
77
84
  ```
78
85
 
79
- ### Additional dependencies
80
-
81
- Additional packages are required if you wish to use pypromice's post-processing functionality.
82
-
83
- [eccodes](https://confluence.ecmwf.int/display/ECC/ecCodes+installation) is the official package for BUFR encoding and decoding. Try firstly to install with conda-forge like so:
84
-
85
- ```
86
- $ conda install -c conda-forge eccodes
87
- ```
88
-
89
- If the environment cannot resolve the eccodes installation then follow the steps documented [here](https://gist.github.com/MHBalsmeier/a01ad4e07ecf467c90fad2ac7719844a) to download eccodes and then install eccodes' python bindings using pip.
90
-
91
- ```
92
- $ pip3 install eccodes-python
93
- ```
94
-
@@ -0,0 +1,53 @@
1
+ pypromice/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ pypromice/station_configuration.py,sha256=h0ap21-dCeU9kboktgYeziGvcni4OoJBi82fStV3se0,4009
3
+ pypromice/get/__init__.py,sha256=n2L6P9EeUsdjsHaeU7BEanBjlkCBX9csGseT8z-laew,32
4
+ pypromice/get/get.py,sha256=8tdIbvdeXCpRWU7KmcKGIP9ZPdqIry3MjtJp9krumvo,7705
5
+ pypromice/get/get_promice_data.py,sha256=bluNCaP50iRlWBzdEOXLrSPepOQdGB7SeQLkTWiqK4c,1806
6
+ pypromice/postprocess/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ pypromice/postprocess/bufr_to_csv.py,sha256=S1SprYvL91um3y7Axx4CFOz7UYlr_DUQjhcgzwUIf9E,343
8
+ pypromice/postprocess/bufr_utilities.py,sha256=bc9U7ZC_7jtPbzaLYNnsz-nq3xn_PHGkgk1bVWa3ltc,21176
9
+ pypromice/postprocess/create_bufr_files.py,sha256=GizmNAW_v54MkvelPVzqIklBNHWH6nTRQC2qOo5amys,5657
10
+ pypromice/postprocess/get_bufr.py,sha256=98BZ7tTbmvvrVAzhxJ8LgHib3w7Q3S_x757pCubHToU,16693
11
+ pypromice/postprocess/make_metadata_csv.py,sha256=lUw8fZC6dzG10IePZ4d7eZIrTbquHYCDuppYP4r_dF0,9776
12
+ pypromice/postprocess/positions_seed.csv,sha256=0kVCQ8UfEALdeXNYCddmwxpseRqLRudbFStqp_bZRBw,224
13
+ pypromice/postprocess/real_time_utilities.py,sha256=2GZUua5R8ocp-TnIjEA4ig8lC4TlI3SkiimzLxoHXFE,9476
14
+ pypromice/process/L0toL1.py,sha256=aQmVEXhtRisHNrJuPGIg7NA4hjjmV9jUBu1DClRIGzs,23175
15
+ pypromice/process/L1toL2.py,sha256=Hcelx8kYDq5ERtzdAO1YUuBu8_aRwgWJ9FEDHuAVZu8,30478
16
+ pypromice/process/L2toL3.py,sha256=iK7IdyuAP0cPThsDoQXl-fKxkfM7C8DhZGyn1ywjcdY,62235
17
+ pypromice/process/__init__.py,sha256=xvd0I-9nIyVw4M4qjgkQ5vXYpNuKcVSkIVIROQsZDo0,147
18
+ pypromice/process/aws.py,sha256=4CGRGAGFSRxAutHVI1hMaWcfo3nUqGBiXPeXdfw9jQo,8669
19
+ pypromice/process/get_l2.py,sha256=ALXJCMJ8qgg0_dEKx-dV5TQ9IAJnLLLGPUxlr5QVfpk,3076
20
+ pypromice/process/get_l2tol3.py,sha256=4Qu2d5rT25H2dObyCc70ivtJg3vw6WA-hzI-kRD6ybQ,4544
21
+ pypromice/process/join_l2.py,sha256=ifjuhFR9scVvZt3xuy-ELp-iRchxV1dEK9qJ4UNh5bE,4567
22
+ pypromice/process/join_l3.py,sha256=nLLQbX0vuuvHET8r33ZAt5g1dtIk3foUJ9RZkwkEwE4,20158
23
+ pypromice/process/load.py,sha256=iaFvJeaDanAA60caVj4BWupZpqgQNj3CiNU4csz9FdU,4585
24
+ pypromice/process/resample.py,sha256=L0_q8GDen6tzJV3CLEjYS3S1nWu5tkZi1GSj3QRH-vw,4932
25
+ pypromice/process/utilities.py,sha256=1pqSaF3bIbvRNtOjb25mbegHfuW9MY4KpCBDVXWyML8,1773
26
+ pypromice/process/value_clipping.py,sha256=FkBiDT_HK_BDFiVjB7NdWH-_nab7vONG9LOd2PpEBI8,1573
27
+ pypromice/process/write.py,sha256=fRCCK4g_W07M4EEsJErdTSN2Pldr9SLgqM2w_rsp2ZQ,16257
28
+ pypromice/qc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ pypromice/qc/github_data_issues.py,sha256=gbbF62oMMWbXiLnsrs60vXbwfAqSUP113plhidVeqCU,13353
30
+ pypromice/qc/persistence.py,sha256=2ruS5w_QXt8730jwh6dwN1F3h7MGKFYStfO3T0YmmCY,6582
31
+ pypromice/qc/percentiles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ pypromice/qc/percentiles/compute_thresholds.py,sha256=CjopJRMr8g36SqMS5QB9BGxFr4ohnNvsduZ-Q0xY7S0,6086
33
+ pypromice/qc/percentiles/outlier_detector.py,sha256=5_458aMm9MAubfYv7oIz1Lp9ME6Sn1xiSiAQmIe-riY,3370
34
+ pypromice/qc/percentiles/thresholds.csv,sha256=KTQcYsg2VCZmR-Rf1Zzx1Jn-ZmR5yPPWWXYZ0Z03PDQ,9516
35
+ pypromice/resources/__init__.py,sha256=MpKmvV11R4tcqmyvJpXQt-_It3oRI0WEIQNbMST--4w,907
36
+ pypromice/resources/file_attributes.csv,sha256=NFqfg6u0PmPzY2bqE2bp646E4LUiPLqvzhyxDauXoPU,7014
37
+ pypromice/resources/variable_aliases_GC-Net.csv,sha256=Z4-S9wThgWxwZTgeIWjjAoAP2Rnuu5kdY4m3aAqnMIM,967
38
+ pypromice/resources/variables.csv,sha256=YyYng6ZL2eA0EIDdNAT8ACp6kg49R_38mTD5dWz_Vps,13513
39
+ pypromice/tx/__init__.py,sha256=-62bhHWJGfzFh5JwHcLqRj2jcGzmqzYOLWByhO706YY,30
40
+ pypromice/tx/get_l0tx.py,sha256=b34-96KGshTyTN2tBFaAIBl7oZZzbRB_JR7sXtDNfXA,6957
41
+ pypromice/tx/get_msg.py,sha256=OGS60OHjy4Wf8JExTfOdK-9xhjFdjhuChxoTSPe_MjI,3417
42
+ pypromice/tx/get_watsontx.py,sha256=vFSuDs_vvkATe_6WCF8OLVsx7Wa-MxLATZRfP9qUZqI,5436
43
+ pypromice/tx/payload_formats.csv,sha256=tzTTNuvmVwlwd7z3aF8A2dhjKNQ4lVumpnNBs3e3YeQ,7816
44
+ pypromice/tx/payload_types.csv,sha256=C1-xCmHytAqqAzgzPwBLWqabzWu6s6tKAd8AjVd935s,457
45
+ pypromice/tx/tx.py,sha256=TE5lKYMJF4hAhHrKjMyx1LZWpOHlwGJI9EdlPJrQITs,34251
46
+ pypromice/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
+ pypromice/utilities/git.py,sha256=fphNOnbX7cHHIslFve6F5RLxSyPndHG1An3cHADkb-w,1802
48
+ pypromice-1.4.0.dist-info/LICENSE.txt,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
49
+ pypromice-1.4.0.dist-info/METADATA,sha256=st3ryglycZZ8a8P3cZpKwdoJGpmXMTiXvIMF6KzrKFs,4761
50
+ pypromice-1.4.0.dist-info/WHEEL,sha256=nCVcAvsfA9TDtwGwhYaRrlPhTLV9m-Ga6mdyDtuwK18,91
51
+ pypromice-1.4.0.dist-info/entry_points.txt,sha256=ufX1npmY3nqMPtSVRKVxn3MhG9IyFHD5FjPZQcELVXo,618
52
+ pypromice-1.4.0.dist-info/top_level.txt,sha256=cBdfwgSbWDQq3a07nKRjrfmLC7jdaYXs98GG58HpTks,10
53
+ pypromice-1.4.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (73.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,13 @@
1
+ [console_scripts]
2
+ bufr_to_csv = pypromice.postprocess.bufr_to_csv:main
3
+ create_bufr_files = pypromice.postprocess.create_bufr_files:main
4
+ get_bufr = pypromice.postprocess.get_bufr:main
5
+ get_l0tx = pypromice.tx.get_l0tx:get_l0tx
6
+ get_l2 = pypromice.process.get_l2:main
7
+ get_l2tol3 = pypromice.process.get_l2tol3:main
8
+ get_msg = pypromice.tx.get_msg:get_msg
9
+ get_promice_data = pypromice.get.get_promice_data:get_promice_data
10
+ get_watsontx = pypromice.tx.get_watsontx:get_watsontx
11
+ join_l2 = pypromice.process.join_l2:main
12
+ join_l3 = pypromice.process.join_l3:main
13
+ make_metadata_csv = pypromice.postprocess.make_metadata_csv:main