cloudnetpy-qc 1.19.5__tar.gz → 1.20.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.19.5/cloudnetpy_qc.egg-info → cloudnetpy_qc-1.20.0}/PKG-INFO +1 -1
  2. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/quality.py +2 -0
  3. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/variables.py +101 -0
  4. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/version.py +2 -2
  5. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0/cloudnetpy_qc.egg-info}/PKG-INFO +1 -1
  6. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/pyproject.toml +1 -1
  7. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/LICENSE +0 -0
  8. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/MANIFEST.in +0 -0
  9. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/README.md +0 -0
  10. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/__init__.py +0 -0
  11. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/data/area-type-table.xml +0 -0
  12. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/data/cf-standard-name-table.xml +0 -0
  13. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/data/data_quality_config.ini +0 -0
  14. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/data/standardized-region-list.xml +0 -0
  15. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/py.typed +0 -0
  16. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc/utils.py +0 -0
  17. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc.egg-info/SOURCES.txt +0 -0
  18. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc.egg-info/dependency_links.txt +0 -0
  19. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc.egg-info/requires.txt +0 -0
  20. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/cloudnetpy_qc.egg-info/top_level.txt +0 -0
  21. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/setup.cfg +0 -0
  22. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/tests/test_qc.py +0 -0
  23. {cloudnetpy_qc-1.19.5 → cloudnetpy_qc-1.20.0}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cloudnetpy_qc
3
- Version: 1.19.5
3
+ Version: 1.20.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
@@ -226,6 +226,8 @@ class FindVariableOutliers(Test):
226
226
  Product.MWR_MULTI,
227
227
  ):
228
228
  return None
229
+ if key == "height" and self.product == Product.CPR:
230
+ return None
229
231
  if key == "air_pressure":
230
232
  pressure = utils.calc_pressure(self.nc["altitude"][:])
231
233
  max_diff = pressure * 0.05
@@ -40,6 +40,7 @@ class Product(Enum):
40
40
  L3_CF = "l3-cf"
41
41
  L3_IWC = "l3-iwc"
42
42
  L3_LWC = "l3-lwc"
43
+ CPR = "cpr-simulation"
43
44
 
44
45
  @classmethod
45
46
  def all(cls) -> set[Product]:
@@ -74,6 +75,7 @@ LEVELS: dict[Product, Level] = {
74
75
  Product.L3_CF: "3",
75
76
  Product.L3_IWC: "3",
76
77
  Product.L3_LWC: "3",
78
+ Product.CPR: "3",
77
79
  }
78
80
 
79
81
 
@@ -789,6 +791,105 @@ VARIABLES = {
789
791
  ],
790
792
  dtype=Dtype.INT,
791
793
  ),
794
+ # ---------------------------------------
795
+ # Required in cpr-simulation Level 3 file
796
+ # ---------------------------------------
797
+ "sat_ifov": Variable(
798
+ long_name="Satellite instantaneous field of view",
799
+ units="m",
800
+ required=[Product.CPR],
801
+ ),
802
+ "sat_range_resolution": Variable(
803
+ long_name="Satellite range resolution",
804
+ units="m",
805
+ required=[Product.CPR],
806
+ ),
807
+ "sat_along_track_resolution": Variable(
808
+ long_name="Satellite along-track resolution",
809
+ units="m",
810
+ required=[Product.CPR],
811
+ ),
812
+ "ze": Variable(
813
+ long_name="Radar reflectivity factor of input",
814
+ units="dBZ",
815
+ required=[Product.CPR],
816
+ ),
817
+ "vm": Variable(
818
+ long_name="Mean Doppler velocity of input",
819
+ units="m s-1",
820
+ required=[Product.CPR],
821
+ ),
822
+ "ze_sat": Variable(
823
+ long_name="Convolved and integrated radar reflectivity factor",
824
+ units="dBZ",
825
+ required=[Product.CPR],
826
+ ),
827
+ "vm_sat": Variable(
828
+ long_name="Convolved and integrated mean Doppler velocity",
829
+ units="m s-1",
830
+ required=[Product.CPR],
831
+ ),
832
+ "vm_sat_vel": Variable(
833
+ long_name="Convolved and integrated mean Doppler velocity with satellite motion error",
834
+ units="m s-1",
835
+ required=[Product.CPR],
836
+ ),
837
+ "vm_sat_noise": Variable(
838
+ long_name="Convolved and integrated mean Doppler velocity with noise and satellite motion error",
839
+ units="m s-1",
840
+ required=[Product.CPR],
841
+ ),
842
+ "ze_sat_noise": Variable(
843
+ long_name="Convolved and integrated radar reflectivity factor with noise",
844
+ units="dBZ",
845
+ required=[Product.CPR],
846
+ ),
847
+ "vm_sat_folded": Variable(
848
+ long_name="Doppler velocity with noise, satellite motion error, and folding",
849
+ units="m s-1",
850
+ required=[Product.CPR],
851
+ ),
852
+ "nubf": Variable(
853
+ long_name="Non-uniform beam filling",
854
+ units="dBZ",
855
+ required=[Product.CPR],
856
+ ),
857
+ "nubf_flag": Variable(
858
+ long_name="Non-uniform beam filling flag",
859
+ dtype=Dtype.INT,
860
+ required=[Product.CPR],
861
+ ),
862
+ "ms_flag": Variable(
863
+ long_name="Multiple scattering flag",
864
+ dtype=Dtype.INT,
865
+ required=[Product.CPR],
866
+ ),
867
+ "folding_flag": Variable(
868
+ long_name="Folding flag",
869
+ dtype=Dtype.INT,
870
+ required=[Product.CPR],
871
+ ),
872
+ "along_track_sat": Variable(
873
+ long_name="Along-track distance at satellite resolution",
874
+ units="m",
875
+ required=[Product.CPR],
876
+ ),
877
+ "along_track": Variable(
878
+ long_name="Along-track distance",
879
+ units="m",
880
+ required=[Product.CPR],
881
+ ),
882
+ "mean_wind": Variable(
883
+ long_name="Mean horizontal wind",
884
+ units="m s-1",
885
+ required=[Product.CPR],
886
+ ),
887
+ "height_sat": Variable(
888
+ long_name="Height above mean sea level at satellite resolution",
889
+ units="m",
890
+ dtype=Dtype.FLOAT,
891
+ required=[Product.CPR],
892
+ ),
792
893
  # -------------------------
793
894
  # Required in several files
794
895
  # -------------------------
@@ -1,6 +1,6 @@
1
1
  """Cloudnetpy-QC version."""
2
2
 
3
3
  MAJOR = 1
4
- MINOR = 19
5
- PATCH = 5
4
+ MINOR = 20
5
+ PATCH = 0
6
6
  __version__ = f"{MAJOR}.{MINOR}.{PATCH}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cloudnetpy_qc
3
- Version: 1.19.5
3
+ Version: 1.20.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
@@ -30,7 +30,7 @@ Repository = "https://github.com/actris-cloudnet/cloudnetpy-qc"
30
30
  Changelog = "https://github.com/actris-cloudnet/cloudnetpy-qc/blob/main/CHANGELOG.md"
31
31
 
32
32
  [[tool.mypy.overrides]]
33
- module = ["cfchecker.*", "netCDF4.*", "scipy.*"]
33
+ module = ["cfchecker.*", "scipy.*"]
34
34
  ignore_missing_imports = true
35
35
 
36
36
  [tool.release-version]
File without changes
File without changes
File without changes