cloudnetpy-qc 1.22.0__tar.gz → 1.24.0__tar.gz

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.
Files changed (23) hide show
  1. {cloudnetpy_qc-1.22.0/cloudnetpy_qc.egg-info → cloudnetpy_qc-1.24.0}/PKG-INFO +7 -3
  2. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/README.md +4 -1
  3. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/data/area-type-table.xml +8 -2
  4. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/data/cf-standard-name-table.xml +294 -139
  5. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/quality.py +78 -10
  6. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/utils.py +33 -7
  7. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/variables.py +15 -16
  8. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/version.py +1 -1
  9. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0/cloudnetpy_qc.egg-info}/PKG-INFO +7 -3
  10. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/pyproject.toml +8 -1
  11. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/tests/test_qc.py +22 -6
  12. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/LICENSE +0 -0
  13. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/MANIFEST.in +0 -0
  14. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/__init__.py +0 -0
  15. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/data/data_quality_config.ini +0 -0
  16. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/data/standardized-region-list.xml +0 -0
  17. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc/py.typed +0 -0
  18. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc.egg-info/SOURCES.txt +0 -0
  19. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc.egg-info/dependency_links.txt +0 -0
  20. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc.egg-info/requires.txt +0 -0
  21. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/cloudnetpy_qc.egg-info/top_level.txt +0 -0
  22. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/setup.cfg +0 -0
  23. {cloudnetpy_qc-1.22.0 → cloudnetpy_qc-1.24.0}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: cloudnetpy_qc
3
- Version: 1.22.0
3
+ Version: 1.24.0
4
4
  Summary: Quality control routines for CloudnetPy products
5
5
  Author-email: Finnish Meteorological Institute <actris-cloudnet@fmi.fi>
6
6
  License: MIT License
@@ -49,6 +49,7 @@ Requires-Dist: types-requests; extra == "test"
49
49
  Provides-Extra: dev
50
50
  Requires-Dist: pre-commit; extra == "dev"
51
51
  Requires-Dist: release-version; extra == "dev"
52
+ Dynamic: license-file
52
53
 
53
54
  # CloudnetPy-QC
54
55
 
@@ -68,7 +69,8 @@ $ pip3 install cloudnetpy-qc
68
69
  ```python
69
70
  import json
70
71
  from cloudnetpy_qc import quality
71
- report = quality.run_tests('cloudnet-file.nc')
72
+ site_meta = {"latitude": 61.844, "longitude": 24.287, "altitude": 150}
73
+ report = quality.run_tests('cloudnet-file.nc', site_meta)
72
74
  json_object = json.dumps(report.to_dict(), indent=2)
73
75
  print(json_object)
74
76
  ```
@@ -135,6 +137,8 @@ print(json_object)
135
137
  | `TestBrightnessTemperature` | Test that brightness temperature data are valid. |
136
138
  | `TestCFConvention` | Test compliance with the CF metadata conventions. |
137
139
  | `TestComment` | Check that variables have expected comments. |
140
+ | `TestCoordinateVariables` | Test dimensions of coordinate variables are correct. |
141
+ | `TestCoordinates` | Check that file coordinates match site coordinates. |
138
142
  | `TestDataCoverage` | Test that file contains enough data. |
139
143
  | `TestDataModel` | Test netCDF data model. |
140
144
  | `TestDataTypes` | Check that variables have expected data types. |
@@ -16,7 +16,8 @@ $ pip3 install cloudnetpy-qc
16
16
  ```python
17
17
  import json
18
18
  from cloudnetpy_qc import quality
19
- report = quality.run_tests('cloudnet-file.nc')
19
+ site_meta = {"latitude": 61.844, "longitude": 24.287, "altitude": 150}
20
+ report = quality.run_tests('cloudnet-file.nc', site_meta)
20
21
  json_object = json.dumps(report.to_dict(), indent=2)
21
22
  print(json_object)
22
23
  ```
@@ -83,6 +84,8 @@ print(json_object)
83
84
  | `TestBrightnessTemperature` | Test that brightness temperature data are valid. |
84
85
  | `TestCFConvention` | Test compliance with the CF metadata conventions. |
85
86
  | `TestComment` | Check that variables have expected comments. |
87
+ | `TestCoordinateVariables` | Test dimensions of coordinate variables are correct. |
88
+ | `TestCoordinates` | Check that file coordinates match site coordinates. |
86
89
  | `TestDataCoverage` | Test that file contains enough data. |
87
90
  | `TestDataModel` | Test netCDF data model. |
88
91
  | `TestDataTypes` | Check that variables have expected data types. |
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0"?>
2
2
  <area_type_table xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="area-type-table-1.1.xsd">
3
3
  <title>Area Type Table</title>
4
- <version_number>12</version_number>
5
- <date>21 January 2025</date>
4
+ <version_number>13</version_number>
5
+ <date>20 March 2025</date>
6
6
  <institution>Centre for Environmental Data Analysis</institution>
7
7
  <contact>support@ceda.ac.uk</contact>
8
8
 
@@ -84,6 +84,9 @@
84
84
  <entry id="ice_sheet">
85
85
  <description>An area type of "ice_sheet" indicates where ice sheets are present. It includes both grounded ice sheets resting over bedrock and any ice shelves flowing over the ocean that are attached to grounded ice sheets. The ice_sheet area type excludes ice-caps and glaciers and any floating ice shelves and ice tongues attached to them, but the land_ice area type includes those as well as the ice_sheet area.</description>
86
86
  </entry>
87
+ <entry id="lake_and_inland_sea">
88
+ <description>The area type lake_and_inland_sea means a quasi-permanent body of water surrounded by land, which may include certain ponds and reservoirs, but excludes rivers and streams which by gravity convey water into and out of lakes or inland seas or into the ocean.</description>
89
+ </entry>
87
90
  <entry id="lake_ice_or_sea_ice">
88
91
  <description>Floating ice excluding ice-shelves and icebergs.</description>
89
92
  </entry>
@@ -135,6 +138,9 @@
135
138
  <entry id="rain">
136
139
  <description>An area_type of "rain" indicates that falling rain is present at some level in the atmospheric column above an area on the surface of the Earth.</description>
137
140
  </entry>
141
+ <entry id="river">
142
+ <description>The area type river means flowing water in a channel that is mainly driven by gravity. It includes streams, creeks and canals but not lakes or seas. It also includes water in a floodplain.</description>
143
+ </entry>
138
144
  <entry id="sea">
139
145
  <description>The area occupied by type "sea" is equal to the sum of the areas of types "ice_free_sea" and "sea_ice".</description>
140
146
  </entry>