climate-toolkit 0.1.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.
- climate_toolkit-0.1.0/LICENSE +21 -0
- climate_toolkit-0.1.0/PKG-INFO +1548 -0
- climate_toolkit-0.1.0/README.md +1510 -0
- climate_toolkit-0.1.0/climate_toolkit/__init__.py +109 -0
- climate_toolkit-0.1.0/climate_toolkit/_resources.py +45 -0
- climate_toolkit-0.1.0/climate_toolkit/calculate_hazards/__init__.py +14 -0
- climate_toolkit-0.1.0/climate_toolkit/calculate_hazards/crop_water_balance_params.json +58 -0
- climate_toolkit-0.1.0/climate_toolkit/calculate_hazards/ensemble_hazards.py +1317 -0
- climate_toolkit-0.1.0/climate_toolkit/calculate_hazards/hazards.py +3272 -0
- climate_toolkit-0.1.0/climate_toolkit/cli.py +89 -0
- climate_toolkit-0.1.0/climate_toolkit/climate_statistics/__init__.py +14 -0
- climate_toolkit-0.1.0/climate_toolkit/climate_statistics/ensemble_statistics.py +1065 -0
- climate_toolkit-0.1.0/climate_toolkit/climate_statistics/statistics.py +3375 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/__init__.py +104 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/_cli_common.py +172 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/heat_stress.py +675 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/human_heat_stress.py +389 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/long_term_climatology.py +1939 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/spei.py +745 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/vpd.py +246 -0
- climate_toolkit-0.1.0/climate_toolkit/climatology/xclim_reference.py +988 -0
- climate_toolkit-0.1.0/climate_toolkit/compare_datasets/__init__.py +14 -0
- climate_toolkit-0.1.0/climate_toolkit/compare_datasets/compare_datasets.py +1070 -0
- climate_toolkit-0.1.0/climate_toolkit/compare_periods/__init__.py +14 -0
- climate_toolkit-0.1.0/climate_toolkit/compare_periods/ensemble_periods.py +2899 -0
- climate_toolkit-0.1.0/climate_toolkit/compare_periods/periods.py +1892 -0
- climate_toolkit-0.1.0/climate_toolkit/crop_calendar/__init__.py +94 -0
- climate_toolkit-0.1.0/climate_toolkit/crop_calendar/ggcmi.py +198 -0
- climate_toolkit-0.1.0/climate_toolkit/crop_calendar/registry.py +102 -0
- climate_toolkit-0.1.0/climate_toolkit/data/__init__.py +1 -0
- climate_toolkit-0.1.0/climate_toolkit/data/ggcmi_phase3/__init__.py +1 -0
- climate_toolkit-0.1.0/climate_toolkit/data/ggcmi_phase3/crop_calendar.parquet +0 -0
- climate_toolkit-0.1.0/climate_toolkit/data/ggcmi_phase3/crop_calendar_manifest.json +42 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/__init__.py +61 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/cache_inventory.py +378 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/fetch_data.py +645 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/gee_xee_batch.py +1133 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/multi_site.py +220 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/nex_gddp_batch.py +1017 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/preprocess_data/__init__.py +18 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/preprocess_data/preprocess_data.py +332 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/runtime_notes.py +80 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/__init__.py +15 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/source_data.py +398 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/agera_5.py +15 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/chirps.py +63 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/chirts.py +63 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/era_5.py +15 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/gee.py +999 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/gee_xee.py +107 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/ghcn_daily.py +87 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/gsod.py +87 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/imerg.py +106 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/nasa_power.py +414 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/nex_gddp.py +357 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/nex_gddp_xee.py +1062 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/soil_grid.py +58 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/tamsat.py +647 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/terraclimate.py +96 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/utils/__init__.py +177 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/utils/config.yaml +227 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/utils/models.py +539 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/utils/settings.py +206 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/source_data/sources/xee_common.py +221 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/transform_data/__init__.py +20 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/transform_data/data_dictionary.yaml +96 -0
- climate_toolkit-0.1.0/climate_toolkit/fetch_data/transform_data/transform_data.py +343 -0
- climate_toolkit-0.1.0/climate_toolkit/gee_check.py +280 -0
- climate_toolkit-0.1.0/climate_toolkit/pipeline.py +307 -0
- climate_toolkit-0.1.0/climate_toolkit/season_analysis/__init__.py +24 -0
- climate_toolkit-0.1.0/climate_toolkit/season_analysis/ensemble.py +1016 -0
- climate_toolkit-0.1.0/climate_toolkit/season_analysis/season_identity.py +58 -0
- climate_toolkit-0.1.0/climate_toolkit/season_analysis/seasons.py +1817 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/__init__.py +73 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/compare.py +3236 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/custom_station.py +464 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/dem.py +153 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/download.py +1440 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/ghcn_daily.py +832 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/gsod.py +835 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/overrides.py +174 -0
- climate_toolkit-0.1.0/climate_toolkit/weather_station/station_selector.py +607 -0
- climate_toolkit-0.1.0/climate_toolkit.egg-info/PKG-INFO +1548 -0
- climate_toolkit-0.1.0/climate_toolkit.egg-info/SOURCES.txt +139 -0
- climate_toolkit-0.1.0/climate_toolkit.egg-info/dependency_links.txt +1 -0
- climate_toolkit-0.1.0/climate_toolkit.egg-info/entry_points.txt +18 -0
- climate_toolkit-0.1.0/climate_toolkit.egg-info/requires.txt +18 -0
- climate_toolkit-0.1.0/climate_toolkit.egg-info/top_level.txt +1 -0
- climate_toolkit-0.1.0/pyproject.toml +128 -0
- climate_toolkit-0.1.0/setup.cfg +4 -0
- climate_toolkit-0.1.0/tests/test_api_smoke.py +50 -0
- climate_toolkit-0.1.0/tests/test_auto_season_alignment_report.py +76 -0
- climate_toolkit-0.1.0/tests/test_cache_inventory.py +216 -0
- climate_toolkit-0.1.0/tests/test_cli_dispatch.py +73 -0
- climate_toolkit-0.1.0/tests/test_climatology_output.py +491 -0
- climate_toolkit-0.1.0/tests/test_climatology_typer_cli.py +150 -0
- climate_toolkit-0.1.0/tests/test_compare_datasets_source_policy.py +212 -0
- climate_toolkit-0.1.0/tests/test_compare_periods_baseline.py +2825 -0
- climate_toolkit-0.1.0/tests/test_crop_registry_hazards.py +21 -0
- climate_toolkit-0.1.0/tests/test_distribution_artifacts.py +155 -0
- climate_toolkit-0.1.0/tests/test_ensemble_hazards_aggregation.py +733 -0
- climate_toolkit-0.1.0/tests/test_ensemble_hazards_import.py +55 -0
- climate_toolkit-0.1.0/tests/test_ensemble_statistics_scenario_validation.py +375 -0
- climate_toolkit-0.1.0/tests/test_era_lte_workflow.py +594 -0
- climate_toolkit-0.1.0/tests/test_fetch_climate_data_usability.py +89 -0
- climate_toolkit-0.1.0/tests/test_fetch_model_resolution.py +49 -0
- climate_toolkit-0.1.0/tests/test_fetch_pipeline.py +1183 -0
- climate_toolkit-0.1.0/tests/test_gee_check.py +107 -0
- climate_toolkit-0.1.0/tests/test_gee_no_auto_auth.py +43 -0
- climate_toolkit-0.1.0/tests/test_gee_xee_batch.py +348 -0
- climate_toolkit-0.1.0/tests/test_ggcmi_crop_calendar.py +256 -0
- climate_toolkit-0.1.0/tests/test_ghcn_daily_station.py +2884 -0
- climate_toolkit-0.1.0/tests/test_hazard_thresholds.py +1873 -0
- climate_toolkit-0.1.0/tests/test_historical_workers_surface.py +292 -0
- climate_toolkit-0.1.0/tests/test_human_heat_stress.py +128 -0
- climate_toolkit-0.1.0/tests/test_install_shape.py +71 -0
- climate_toolkit-0.1.0/tests/test_lazy_package_roots.py +185 -0
- climate_toolkit-0.1.0/tests/test_matplotlib_not_stubbed.py +26 -0
- climate_toolkit-0.1.0/tests/test_multi_site_contract.py +90 -0
- climate_toolkit-0.1.0/tests/test_nasa_power_cache.py +141 -0
- climate_toolkit-0.1.0/tests/test_nex_gddp_batch.py +325 -0
- climate_toolkit-0.1.0/tests/test_nex_gddp_behavior.py +128 -0
- climate_toolkit-0.1.0/tests/test_nex_gddp_xee_poc.py +573 -0
- climate_toolkit-0.1.0/tests/test_package_import_hygiene.py +114 -0
- climate_toolkit-0.1.0/tests/test_package_resources.py +61 -0
- climate_toolkit-0.1.0/tests/test_packaging_metadata.py +262 -0
- climate_toolkit-0.1.0/tests/test_pipeline.py +148 -0
- climate_toolkit-0.1.0/tests/test_preprocess_imports.py +58 -0
- climate_toolkit-0.1.0/tests/test_season_analysis_ensemble_fixed.py +513 -0
- climate_toolkit-0.1.0/tests/test_season_identity.py +30 -0
- climate_toolkit-0.1.0/tests/test_seasons_nex_gddp.py +490 -0
- climate_toolkit-0.1.0/tests/test_soil_grid_cache.py +194 -0
- climate_toolkit-0.1.0/tests/test_spei.py +292 -0
- climate_toolkit-0.1.0/tests/test_spei_cli.py +122 -0
- climate_toolkit-0.1.0/tests/test_station_verbose_kwarg.py +40 -0
- climate_toolkit-0.1.0/tests/test_statistics_source_policy.py +1996 -0
- climate_toolkit-0.1.0/tests/test_tamsat_logging.py +206 -0
- climate_toolkit-0.1.0/tests/test_thi.py +175 -0
- climate_toolkit-0.1.0/tests/test_vpd.py +74 -0
- climate_toolkit-0.1.0/tests/test_xclim_reference_cli.py +117 -0
- climate_toolkit-0.1.0/tests/test_xee_common.py +89 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Climate Toolkit contributors
|
|
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.
|