earthcarekit 0.1.1__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.
- earthcarekit-0.1.1/LICENSE +21 -0
- earthcarekit-0.1.1/PKG-INFO +152 -0
- earthcarekit-0.1.1/README.md +105 -0
- earthcarekit-0.1.1/earthcarekit/__init__.py +40 -0
- earthcarekit-0.1.1/earthcarekit/calval/__init__.py +3 -0
- earthcarekit-0.1.1/earthcarekit/calval/_compare_bsc_ext_lr_depol.py +693 -0
- earthcarekit-0.1.1/earthcarekit/download/__init__.py +1 -0
- earthcarekit-0.1.1/earthcarekit/download/_auth_oads.py +83 -0
- earthcarekit-0.1.1/earthcarekit/download/_collection_selection.py +300 -0
- earthcarekit-0.1.1/earthcarekit/download/_constants.py +10 -0
- earthcarekit-0.1.1/earthcarekit/download/_create_search_requests.py +212 -0
- earthcarekit-0.1.1/earthcarekit/download/_eo_collection.py +56 -0
- earthcarekit-0.1.1/earthcarekit/download/_eo_parameters.py +61 -0
- earthcarekit-0.1.1/earthcarekit/download/_eo_product.py +500 -0
- earthcarekit-0.1.1/earthcarekit/download/_eo_search_request.py +158 -0
- earthcarekit-0.1.1/earthcarekit/download/_exceptions.py +5 -0
- earthcarekit-0.1.1/earthcarekit/download/_parse.py +77 -0
- earthcarekit-0.1.1/earthcarekit/download/_product_types.py +9 -0
- earthcarekit-0.1.1/earthcarekit/download/_request.py +75 -0
- earthcarekit-0.1.1/earthcarekit/download/_run_downloads.py +86 -0
- earthcarekit-0.1.1/earthcarekit/download/_run_search_requests.py +101 -0
- earthcarekit-0.1.1/earthcarekit/download/_types.py +33 -0
- earthcarekit-0.1.1/earthcarekit/download/_unzip.py +65 -0
- earthcarekit-0.1.1/earthcarekit/download/main.py +447 -0
- earthcarekit-0.1.1/earthcarekit/plot/__init__.py +36 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/__init__.py +2 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/color.py +262 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/__init__.py +5 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/calipso.py +117 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/calipso_smooth.py +62 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/chiljet.py +32 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/chiljet2.py +26 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/cmap.py +249 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/colormap.py +109 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/doppler_velocity.py +8 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/ggplot_like_hcl.py +122 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/hsl.py +70 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/labview.py +18 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/plotly_colormaps.py +29 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/radar_reflectivity.py +7 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/shift/__init__.py +2 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/shift/_basic_mpl_shift_colormap.py +67 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/shift/_shift_cmap.py +48 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/simple_classification.py +38 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/synergistic_target_classification.py +89 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/colormap/target_classification.py +40 -0
- earthcarekit-0.1.1/earthcarekit/plot/color/format_conversion.py +6 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/__init__.py +10 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/_plot_1d_integer_flag.py +234 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/along_track/__init__.py +3 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/along_track/axis_ticks.py +185 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/along_track/style.py +77 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/along_track/time_ticks.py +176 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/annotation.py +408 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/axis.py +86 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/colorbar.py +236 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/curtain.py +1159 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/defaults.py +233 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/figure_type.py +22 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/format_strings.py +44 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/height_ticks.py +76 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/line.py +625 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/map.py +1509 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/multi_panel/__init__.py +2 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/multi_panel/map_main_zoom_profile_figure.py +231 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/multi_panel/simple_columns.py +47 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/profile.py +603 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/swath.py +421 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/ticks.py +250 -0
- earthcarekit-0.1.1/earthcarekit/plot/figure/value_range.py +42 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/__init__.py +2 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_cli.py +27 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level1/__init__.py +1 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level1/_ecql_atl_nom_1b.py +262 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level2a/__init__.py +4 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level2a/_ecql_atl_aer_2a.py +66 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level2a/_ecql_atl_cth_2a.py +281 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level2a/_ecql_atl_ebd_2a.py +278 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_level2a/_ecql_atl_tc__2a.py +213 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_quicklook.py +194 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/_swath.py +92 -0
- earthcarekit-0.1.1/earthcarekit/plot/quicklook/main.py +341 -0
- earthcarekit-0.1.1/earthcarekit/plot/save/__init__.py +1 -0
- earthcarekit-0.1.1/earthcarekit/plot/save/simple_save.py +178 -0
- earthcarekit-0.1.1/earthcarekit/plot/text.py +28 -0
- earthcarekit-0.1.1/earthcarekit/utils/__init__.py +9 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/__init__.py +8 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_logging.py +166 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/__init__.py +4 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_exceptions.py +2 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_all_orbit_and_frame_inputs.py +119 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_dirpaths.py +41 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_frame_ids.py +41 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_geo_search_bbox.py +24 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_geo_search_radius.py +13 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_orbit_and_frames.py +210 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_orbit_numbers.py +47 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_path_to_config.py +19 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_product_type.py +142 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_product_version.py +20 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_products.py +17 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_search_inputs.py +80 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_selection_index.py +24 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_parse_time.py +56 -0
- earthcarekit-0.1.1/earthcarekit/utils/_cli/_parse/_types.py +71 -0
- earthcarekit-0.1.1/earthcarekit/utils/_parse_units.py +38 -0
- earthcarekit-0.1.1/earthcarekit/utils/config.py +324 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/__init__.py +6 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/dataset_content.py +30 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/earthcare.py +12 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/figsizes.py +13 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/geo.py +7 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/plotting.py +4 -0
- earthcarekit-0.1.1/earthcarekit/utils/constants/settings.py +5 -0
- earthcarekit-0.1.1/earthcarekit/utils/debug.py +20 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/__init__.py +4 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/bbox.py +142 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/convertsions.py +126 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/coordinates.py +22 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/distance/__init__.py +4 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/distance/_cumulative.py +26 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/distance/_haversine.py +90 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/distance/_vincenty.py +158 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/interpolate.py +15 -0
- earthcarekit-0.1.1/earthcarekit/utils/geo/string_formatting.py +57 -0
- earthcarekit-0.1.1/earthcarekit/utils/ground_sites.py +181 -0
- earthcarekit-0.1.1/earthcarekit/utils/lockfile.py +169 -0
- earthcarekit-0.1.1/earthcarekit/utils/logging.py +20 -0
- earthcarekit-0.1.1/earthcarekit/utils/math_utils.py +14 -0
- earthcarekit-0.1.1/earthcarekit/utils/np_array_utils.py +369 -0
- earthcarekit-0.1.1/earthcarekit/utils/overpass.py +290 -0
- earthcarekit-0.1.1/earthcarekit/utils/path.py +17 -0
- earthcarekit-0.1.1/earthcarekit/utils/profile_data/__init__.py +6 -0
- earthcarekit-0.1.1/earthcarekit/utils/profile_data/_validate_dimensions.py +64 -0
- earthcarekit-0.1.1/earthcarekit/utils/profile_data/profile_data.py +775 -0
- earthcarekit-0.1.1/earthcarekit/utils/profile_data/rebin.py +269 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/__init__.py +47 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/_read_any.py +46 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/_read_nc.py +93 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/_read_polly.py +139 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/__init__.py +8 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/_concat.py +183 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/_generic.py +202 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/_header_file.py +72 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/_rename_dataset_content.py +87 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/_search.py +394 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/_trim_to_frame.py +51 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/auxiliary/__init__.py +1 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/auxiliary/aux_met_1d.py +200 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/__init__.py +18 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/_type_alias.py +126 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/agency.py +54 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/baseline.py +11 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/file_info.py +22 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/latency.py +55 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/mission_id.py +11 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/orbit_and_frame.py +82 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/product_info.py +287 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/file_info/type.py +209 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/fill_values.py +19 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/header_group.py +122 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level1/__init__.py +3 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level1/atl_nom_1b.py +140 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level1/cpr_nom_1b.py +103 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level1/msi_rgr_1c.py +129 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/__init__.py +6 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/atl_aer_2a.py +71 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/atl_ald_2a.py +60 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/atl_atc_2a.py +67 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/atl_cla_2a.py +54 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/atl_cth_2a.py +37 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2a/atl_ebd_2a.py +84 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2b/__init__.py +2 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2b/am__acd_2b.py +127 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/level2b/am__cth_2a.py +97 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/product/science_group.py +40 -0
- earthcarekit-0.1.1/earthcarekit/utils/read/search.py +31 -0
- earthcarekit-0.1.1/earthcarekit/utils/rolling_mean.py +48 -0
- earthcarekit-0.1.1/earthcarekit/utils/set.py +16 -0
- earthcarekit-0.1.1/earthcarekit/utils/statistics.py +90 -0
- earthcarekit-0.1.1/earthcarekit/utils/swath_data/__init__.py +1 -0
- earthcarekit-0.1.1/earthcarekit/utils/swath_data/across_track_distance.py +185 -0
- earthcarekit-0.1.1/earthcarekit/utils/swath_data/swath_data.py +157 -0
- earthcarekit-0.1.1/earthcarekit/utils/temporary_files.py +15 -0
- earthcarekit-0.1.1/earthcarekit/utils/time.py +524 -0
- earthcarekit-0.1.1/earthcarekit/utils/track_data.py +110 -0
- earthcarekit-0.1.1/earthcarekit/utils/typing.py +86 -0
- earthcarekit-0.1.1/earthcarekit/utils/validation.py +81 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/__init__.py +7 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/concat.py +60 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/delete.py +23 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/exception.py +13 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/filter_radius.py +107 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/filter_time.py +138 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/merge.py +17 -0
- earthcarekit-0.1.1/earthcarekit/utils/xarray_utils/scalars.py +12 -0
- earthcarekit-0.1.1/earthcarekit.egg-info/PKG-INFO +152 -0
- earthcarekit-0.1.1/earthcarekit.egg-info/SOURCES.txt +202 -0
- earthcarekit-0.1.1/earthcarekit.egg-info/dependency_links.txt +1 -0
- earthcarekit-0.1.1/earthcarekit.egg-info/entry_points.txt +3 -0
- earthcarekit-0.1.1/earthcarekit.egg-info/requires.txt +15 -0
- earthcarekit-0.1.1/earthcarekit.egg-info/top_level.txt +1 -0
- earthcarekit-0.1.1/pyproject.toml +39 -0
- earthcarekit-0.1.1/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Leonard König
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: earthcarekit
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: A Python package to simplify working with EarthCARE satellite data.
|
|
5
|
+
Author-email: Leonard König <koenig@tropos.de>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2025 Leonard König
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Requires-Python: >=3.11
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Requires-Dist: numpy>=2.3.2
|
|
32
|
+
Requires-Dist: pandas>=2.3.1
|
|
33
|
+
Requires-Dist: xarray>=2025.7.1
|
|
34
|
+
Requires-Dist: matplotlib>=3.10.3
|
|
35
|
+
Requires-Dist: plotly>=6.2.0
|
|
36
|
+
Requires-Dist: seaborn>=0.13.2
|
|
37
|
+
Requires-Dist: cartopy>=0.24.1
|
|
38
|
+
Requires-Dist: cmcrameri>=1.9
|
|
39
|
+
Requires-Dist: scipy>=1.16.1
|
|
40
|
+
Requires-Dist: owslib>=0.34.1
|
|
41
|
+
Requires-Dist: jupyterlab>=4.4.5
|
|
42
|
+
Requires-Dist: vedo>=2025.5.4
|
|
43
|
+
Requires-Dist: h5netcdf>=1.6.3
|
|
44
|
+
Requires-Dist: netcdf4>=1.7.2
|
|
45
|
+
Requires-Dist: tomli-w>=1.2.0
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
|
|
48
|
+
# earthcarekit
|
|
49
|
+
|
|
50
|
+
[](https://github.com/TROPOS-RSD/earthcarekit/tags)
|
|
51
|
+
[](https://github.com/TROPOS-RSD/earthcarekit/blob/main/LICENSE)
|
|
52
|
+
|
|
53
|
+
A Python package to simplify working with EarthCARE satellite data.
|
|
54
|
+
|
|
55
|
+
> ⚠️ **Project Status: In Development**
|
|
56
|
+
>
|
|
57
|
+
> This project is still under active development.
|
|
58
|
+
> It is **not yet feature-complete**, and parts of the **user documentation are missing or incomplete**.
|
|
59
|
+
> Use at your own risk and expect breaking changes.
|
|
60
|
+
> Feedback and contributions are welcome!
|
|
61
|
+
|
|
62
|
+
> ⚠️ **Page status: Work in progess**
|
|
63
|
+
|
|
64
|
+
## Key Features
|
|
65
|
+
|
|
66
|
+
- **Download** - Access EarthCARE data from ESA's dissemination platfroms [OADS](https://ec-pdgs-dissemination2.eo.esa.int/oads/access/collection) or [MAAP](https://portal.maap.eo.esa.int/earthcare/) via the command line or your Python scripts.
|
|
67
|
+
- **Search & Read** - Search your local EarthCARE products and open them as `xarray.Dataset` objects with unified dimension names.
|
|
68
|
+
- **Process** - Filter data by time or geographic location, extract vertical profile statistics, rebin to common grids, interpolate along-track vertical cross sections from X-MET files and merge datasets from consecutive EarthCARE frames.
|
|
69
|
+
- **Visualize** - Create quicklooks and plot vertical and across-track time series using a set of preset `matplotlib`/`cartopy`-based figure objects - while allowing customization.
|
|
70
|
+
|
|
71
|
+
### Available Command Line Tools
|
|
72
|
+
|
|
73
|
+
- [**ecdownload**](./docs/ecdownload.md) - Search, select, and download EarthCARE data from the command line.
|
|
74
|
+
- [**ecquicklook**](./docs/ecquicklook.md) - Create fast quicklooks of your local EarthCARE products via the command line.
|
|
75
|
+
|
|
76
|
+
## Getting Started
|
|
77
|
+
|
|
78
|
+
### Step 1 - Installation
|
|
79
|
+
|
|
80
|
+
Set up a Python 3.11+ environment with `pip` available, then install the latest version of `earthcarekit` from the Python Package Index (PyPI):
|
|
81
|
+
|
|
82
|
+
> ⚠️ Not yet available: ~~`pip install earthcarekit`~~
|
|
83
|
+
>
|
|
84
|
+
> Use instead latest prerelease version from Test PyPI:
|
|
85
|
+
> ```
|
|
86
|
+
> pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple earthcarekit
|
|
87
|
+
> ```
|
|
88
|
+
|
|
89
|
+
Alternatively, the package can be installed manually by cloning the repository and running:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
pip install .
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Step 2 - Configuration
|
|
96
|
+
|
|
97
|
+
An initial configuration step is required to specify default paths for storing data and created images, as well as to set up access to the supported data dissemination platforms for downloading.
|
|
98
|
+
This involves creating and editing a configuration file - see [example_config.toml](./example_config.toml). Once applied via Python code, your settings will be saved to `~/.config/earthcarekit/default_config.toml`.
|
|
99
|
+
|
|
100
|
+
Below, the configuration process is shown using the Python command line interpreter:
|
|
101
|
+
|
|
102
|
+
1. **Open the Python interpreter and generate an example configuration file in your current directory:**
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
$ python
|
|
106
|
+
>>> import earthcarekit as eck
|
|
107
|
+
>>> eck.create_example_config()
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
2. **Edit the generated file.**
|
|
111
|
+
|
|
112
|
+
Follow the instructions in the inline comments of the exsample file to customize your settings. You may rename and save your file to any location.
|
|
113
|
+
3. **Go back to the Python Interpreter and apply your configuration file as default:**
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
>>> eck.set_config(path_to_file)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
You can later view or manually edit the saved configuration at `~/.config/earthcarekit/default_config.toml`. To update your settings, you can also simply repeat the steps above.
|
|
120
|
+
|
|
121
|
+
## Tutorials
|
|
122
|
+
|
|
123
|
+
See usage examples:
|
|
124
|
+
- Jupyter notebooks: [examples/notebooks/](./examples/notebooks/)
|
|
125
|
+
- Documentation: [docs/tutorials.md](./docs/tutorials.md).
|
|
126
|
+
|
|
127
|
+
## Author
|
|
128
|
+
|
|
129
|
+
Developed and maintained by [Leonard König](https://orcid.org/0009-0004-3095-3969) ([TROPOS](https://www.tropos.de/en/)).
|
|
130
|
+
|
|
131
|
+
## Contact
|
|
132
|
+
|
|
133
|
+
For questions, suggestions, or bug reports, please create an issue or reach out via email: koenig@tropos.de
|
|
134
|
+
|
|
135
|
+
## License
|
|
136
|
+
|
|
137
|
+
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
|
|
138
|
+
|
|
139
|
+
### Third-Party Licenses
|
|
140
|
+
|
|
141
|
+
This project relies on several open-source packages. Their licenses include:
|
|
142
|
+
- MIT License: `plotly`, `cmcrameri`, `vedo`, `netcdf4`, `tomli-w`
|
|
143
|
+
- BSD License: `numpy`, `pandas`, `scipy`, `seaborn`, `owslib`, `jupyterlab`, `h5netcdf`
|
|
144
|
+
- Apache 2.0 License: `xarray`
|
|
145
|
+
- LGPL License: `cartopy`
|
|
146
|
+
- PSF License: `matplotlib`
|
|
147
|
+
|
|
148
|
+
Please refer to each project's repository for detailed license information.
|
|
149
|
+
|
|
150
|
+
## Acknowledgments
|
|
151
|
+
|
|
152
|
+
Colormap definitions for `calipso` and `chiljet2` were adapted from the exellent [ectools](https://bitbucket.org/smason/workspace/projects/EC) repository by Shannon Mason (ECMWF).
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# earthcarekit
|
|
2
|
+
|
|
3
|
+
[](https://github.com/TROPOS-RSD/earthcarekit/tags)
|
|
4
|
+
[](https://github.com/TROPOS-RSD/earthcarekit/blob/main/LICENSE)
|
|
5
|
+
|
|
6
|
+
A Python package to simplify working with EarthCARE satellite data.
|
|
7
|
+
|
|
8
|
+
> ⚠️ **Project Status: In Development**
|
|
9
|
+
>
|
|
10
|
+
> This project is still under active development.
|
|
11
|
+
> It is **not yet feature-complete**, and parts of the **user documentation are missing or incomplete**.
|
|
12
|
+
> Use at your own risk and expect breaking changes.
|
|
13
|
+
> Feedback and contributions are welcome!
|
|
14
|
+
|
|
15
|
+
> ⚠️ **Page status: Work in progess**
|
|
16
|
+
|
|
17
|
+
## Key Features
|
|
18
|
+
|
|
19
|
+
- **Download** - Access EarthCARE data from ESA's dissemination platfroms [OADS](https://ec-pdgs-dissemination2.eo.esa.int/oads/access/collection) or [MAAP](https://portal.maap.eo.esa.int/earthcare/) via the command line or your Python scripts.
|
|
20
|
+
- **Search & Read** - Search your local EarthCARE products and open them as `xarray.Dataset` objects with unified dimension names.
|
|
21
|
+
- **Process** - Filter data by time or geographic location, extract vertical profile statistics, rebin to common grids, interpolate along-track vertical cross sections from X-MET files and merge datasets from consecutive EarthCARE frames.
|
|
22
|
+
- **Visualize** - Create quicklooks and plot vertical and across-track time series using a set of preset `matplotlib`/`cartopy`-based figure objects - while allowing customization.
|
|
23
|
+
|
|
24
|
+
### Available Command Line Tools
|
|
25
|
+
|
|
26
|
+
- [**ecdownload**](./docs/ecdownload.md) - Search, select, and download EarthCARE data from the command line.
|
|
27
|
+
- [**ecquicklook**](./docs/ecquicklook.md) - Create fast quicklooks of your local EarthCARE products via the command line.
|
|
28
|
+
|
|
29
|
+
## Getting Started
|
|
30
|
+
|
|
31
|
+
### Step 1 - Installation
|
|
32
|
+
|
|
33
|
+
Set up a Python 3.11+ environment with `pip` available, then install the latest version of `earthcarekit` from the Python Package Index (PyPI):
|
|
34
|
+
|
|
35
|
+
> ⚠️ Not yet available: ~~`pip install earthcarekit`~~
|
|
36
|
+
>
|
|
37
|
+
> Use instead latest prerelease version from Test PyPI:
|
|
38
|
+
> ```
|
|
39
|
+
> pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple earthcarekit
|
|
40
|
+
> ```
|
|
41
|
+
|
|
42
|
+
Alternatively, the package can be installed manually by cloning the repository and running:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
pip install .
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Step 2 - Configuration
|
|
49
|
+
|
|
50
|
+
An initial configuration step is required to specify default paths for storing data and created images, as well as to set up access to the supported data dissemination platforms for downloading.
|
|
51
|
+
This involves creating and editing a configuration file - see [example_config.toml](./example_config.toml). Once applied via Python code, your settings will be saved to `~/.config/earthcarekit/default_config.toml`.
|
|
52
|
+
|
|
53
|
+
Below, the configuration process is shown using the Python command line interpreter:
|
|
54
|
+
|
|
55
|
+
1. **Open the Python interpreter and generate an example configuration file in your current directory:**
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
$ python
|
|
59
|
+
>>> import earthcarekit as eck
|
|
60
|
+
>>> eck.create_example_config()
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
2. **Edit the generated file.**
|
|
64
|
+
|
|
65
|
+
Follow the instructions in the inline comments of the exsample file to customize your settings. You may rename and save your file to any location.
|
|
66
|
+
3. **Go back to the Python Interpreter and apply your configuration file as default:**
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
>>> eck.set_config(path_to_file)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
You can later view or manually edit the saved configuration at `~/.config/earthcarekit/default_config.toml`. To update your settings, you can also simply repeat the steps above.
|
|
73
|
+
|
|
74
|
+
## Tutorials
|
|
75
|
+
|
|
76
|
+
See usage examples:
|
|
77
|
+
- Jupyter notebooks: [examples/notebooks/](./examples/notebooks/)
|
|
78
|
+
- Documentation: [docs/tutorials.md](./docs/tutorials.md).
|
|
79
|
+
|
|
80
|
+
## Author
|
|
81
|
+
|
|
82
|
+
Developed and maintained by [Leonard König](https://orcid.org/0009-0004-3095-3969) ([TROPOS](https://www.tropos.de/en/)).
|
|
83
|
+
|
|
84
|
+
## Contact
|
|
85
|
+
|
|
86
|
+
For questions, suggestions, or bug reports, please create an issue or reach out via email: koenig@tropos.de
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
|
|
91
|
+
|
|
92
|
+
### Third-Party Licenses
|
|
93
|
+
|
|
94
|
+
This project relies on several open-source packages. Their licenses include:
|
|
95
|
+
- MIT License: `plotly`, `cmcrameri`, `vedo`, `netcdf4`, `tomli-w`
|
|
96
|
+
- BSD License: `numpy`, `pandas`, `scipy`, `seaborn`, `owslib`, `jupyterlab`, `h5netcdf`
|
|
97
|
+
- Apache 2.0 License: `xarray`
|
|
98
|
+
- LGPL License: `cartopy`
|
|
99
|
+
- PSF License: `matplotlib`
|
|
100
|
+
|
|
101
|
+
Please refer to each project's repository for detailed license information.
|
|
102
|
+
|
|
103
|
+
## Acknowledgments
|
|
104
|
+
|
|
105
|
+
Colormap definitions for `calipso` and `chiljet2` were adapted from the exellent [ectools](https://bitbucket.org/smason/workspace/projects/EC) repository by Shannon Mason (ECMWF).
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""
|
|
2
|
+
earthcarekit
|
|
3
|
+
============
|
|
4
|
+
|
|
5
|
+
A Python package to simplify working with EarthCARE satellite data.
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2025 Leonard König
|
|
8
|
+
|
|
9
|
+
Licensed under the MIT License (see LICENSE file or https://opensource.org/license/mit).
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
__author__ = "Leonard König"
|
|
13
|
+
__license__ = "MIT"
|
|
14
|
+
__version__ = "0.1.1"
|
|
15
|
+
__date__ = "2025-08-08"
|
|
16
|
+
__maintainer__ = "Leonard König"
|
|
17
|
+
__email__ = "koenig@tropos.de"
|
|
18
|
+
__title__ = "earthcarekit"
|
|
19
|
+
|
|
20
|
+
from .calval import *
|
|
21
|
+
from .download import ecdownload
|
|
22
|
+
from .plot import *
|
|
23
|
+
from .plot import ecquicklook, ecswath
|
|
24
|
+
from .utils import ProfileData, filter_radius, filter_time, set_config
|
|
25
|
+
from .utils import statistics as stats
|
|
26
|
+
from .utils.config import _warn_user_if_not_default_config_exists, create_example_config
|
|
27
|
+
from .utils.geo import geodesic, haversine
|
|
28
|
+
from .utils.ground_sites import GroundSite, get_ground_site
|
|
29
|
+
from .utils.logging import _setup_logging
|
|
30
|
+
from .utils.overpass import get_overpass_info
|
|
31
|
+
from .utils.read import *
|
|
32
|
+
|
|
33
|
+
__all__ = [
|
|
34
|
+
"ecquicklook",
|
|
35
|
+
"ecswath",
|
|
36
|
+
"ecdownload",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
_setup_logging()
|
|
40
|
+
_warn_user_if_not_default_config_exists()
|