cloudnetpy-qc 1.29.0__py3-none-any.whl → 1.30.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.
cloudnetpy_qc/quality.py CHANGED
@@ -692,6 +692,22 @@ class TestDataModel(Test):
692
692
  self._add_error(utils.create_expected_received_msg(expected, received))
693
693
 
694
694
 
695
+ class TestCompression(Test):
696
+ name = "Compression"
697
+ description = "Test netCDF compression."
698
+
699
+ def run(self):
700
+ for key, var in self.nc.variables.items():
701
+ # Skip scalars.
702
+ if not var.dimensions:
703
+ continue
704
+ filters = var.filters()
705
+ if not filters["shuffle"]:
706
+ self._add_warning(f"Variable '{key}' is not shuffled.")
707
+ if not filters["zlib"]:
708
+ self._add_warning(f"Variable '{key}' is not compressed.")
709
+
710
+
695
711
  class TestBrightnessTemperature(Test):
696
712
  name = "Brightness temperature"
697
713
  description = "Test that brightness temperature data are valid."
cloudnetpy_qc/version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """Cloudnetpy-QC version."""
2
2
 
3
3
  MAJOR = 1
4
- MINOR = 29
4
+ MINOR = 30
5
5
  PATCH = 0
6
6
  __version__ = f"{MAJOR}.{MINOR}.{PATCH}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudnetpy_qc
3
- Version: 1.29.0
3
+ Version: 1.30.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
@@ -138,6 +138,7 @@ print(json_object)
138
138
  | `TestBrightnessTemperature` | Test that brightness temperature data are valid. |
139
139
  | `TestCFConvention` | Test compliance with the CF metadata conventions. |
140
140
  | `TestComment` | Check that variables have expected comments. |
141
+ | `TestCompression` | Test netCDF compression. |
141
142
  | `TestCoordinateVariables` | Test dimensions of coordinate variables are correct. |
142
143
  | `TestCoordinates` | Check that file coordinates match site coordinates. |
143
144
  | `TestDataCoverage` | Test that file contains enough data. |
@@ -157,6 +158,7 @@ print(json_object)
157
158
  | `TestMedianLwp` | Test that LWP data are valid. |
158
159
  | `TestModelData` | Test that model data are valid. |
159
160
  | `TestRainfallConsistency` | Test that precipitation rate and amount are consistent. |
161
+ | `TestRangeAndHeight` | Test that range and height data are valid. |
160
162
  | `TestStandardNames` | Check that variable have expected standard names. |
161
163
  | `TestTimeVector` | Test that time vector is continuous. |
162
164
  | `TestUnexpectedMask` | Test if data contain unexpected masked values. |
@@ -1,16 +1,16 @@
1
1
  cloudnetpy_qc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- cloudnetpy_qc/coverage.py,sha256=vpaUvAAXmkuQf5qrjxb2DIs9ypCsQHKw3qj98s5pAS0,2471
2
+ cloudnetpy_qc/coverage.py,sha256=sU7MJzoUIdhCAG-SIP4JM1ZVS8IqPgGXAdiwB-cfLqw,2478
3
3
  cloudnetpy_qc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- cloudnetpy_qc/quality.py,sha256=SmZHrelFT3fbOfHn1hI9ywrHrXZXo1x4eMTQEQo5WXY,41017
4
+ cloudnetpy_qc/quality.py,sha256=BidJBwZ7z5C2xaq2QE_NO4AfN2KwxL7nQ18MGEjmgOs,41534
5
5
  cloudnetpy_qc/utils.py,sha256=zFVryl56le2cyfDSCyGCzMHACcsjK7AJZknii1fgfgg,5393
6
6
  cloudnetpy_qc/variables.py,sha256=h_cH0F0nsJZeBWMV-atVDYiRqqaL2Ix2-gfTmhh61V4,53293
7
- cloudnetpy_qc/version.py,sha256=2OtiVvMJKqumisBX9o7TdiO33gp4jZ4PZcoxgONGo-U,102
7
+ cloudnetpy_qc/version.py,sha256=ieMligj3v0rmHPpYnL73-XoFidwNLUIs7_5NNl_SsEw,102
8
8
  cloudnetpy_qc/data/area-type-table.xml,sha256=LQGp6rk8d-jZVjeFWPK_NjG2Kk1atvLlQXmV4UXggKI,17788
9
- cloudnetpy_qc/data/cf-standard-name-table.xml,sha256=MGqs7uPH62jVpiN6as3jc5gswQvywjJzU_jzHtQOArA,4455853
9
+ cloudnetpy_qc/data/cf-standard-name-table.xml,sha256=uk6Y5OVRh_2PV_OQe3KITHaRB_rIYh513b31gnPGNXU,4467326
10
10
  cloudnetpy_qc/data/data_quality_config.ini,sha256=deAQzo3eMclgIaQTGYGdwLaD_AM9vGDGaf4VvJ_ZQrs,1449
11
11
  cloudnetpy_qc/data/standardized-region-list.xml,sha256=gLRE2G7RQLD9hmvW5dTzyK7XPhORxWv2bfbrvAp5Uto,6426
12
- cloudnetpy_qc-1.29.0.dist-info/licenses/LICENSE,sha256=P0wszB7Cq2M390SKaqT4DGvECfwGOMdTTdxsWBpEUUc,1094
13
- cloudnetpy_qc-1.29.0.dist-info/METADATA,sha256=DodjCbPjdmjkT7wLTPjYJn1j7bf51sq11EKK0ZjLqm8,8340
14
- cloudnetpy_qc-1.29.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- cloudnetpy_qc-1.29.0.dist-info/top_level.txt,sha256=shrf8A1KyrrnhbHocc4gHmTl38YY-DHflgf-gXiKnKs,14
16
- cloudnetpy_qc-1.29.0.dist-info/RECORD,,
12
+ cloudnetpy_qc-1.30.0.dist-info/licenses/LICENSE,sha256=P0wszB7Cq2M390SKaqT4DGvECfwGOMdTTdxsWBpEUUc,1094
13
+ cloudnetpy_qc-1.30.0.dist-info/METADATA,sha256=jMvwlccPaZVF_GUvli33N7D7L2rmDs-fYX7Fd6t9Yms,8584
14
+ cloudnetpy_qc-1.30.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ cloudnetpy_qc-1.30.0.dist-info/top_level.txt,sha256=shrf8A1KyrrnhbHocc4gHmTl38YY-DHflgf-gXiKnKs,14
16
+ cloudnetpy_qc-1.30.0.dist-info/RECORD,,