from record_temp_analysis import compute_max_tasmax, plot_max_tasmax_timing, get_first_last_year
Define parameters
files_pattern = '/path/to/data/tasmax_day_reanalysis_era5_r1i1p1_{year}*.nc' lat_range = [47.0, 55.0] # Latitude range for the region of interest lon_range = [5.5, 15.5] # Longitude range for the region of interest lat_name = 'lat' # Name of latitude variable lon_name = 'lon' # Name of longitude variable
Automatically determine the first and last year in the data
start_year, end_year = get_first_last_year(files_pattern)
Compute the maximum tasmax and the timing over the period
max_tasmax, max_year, lats, lons = compute_max_tasmax(files_pattern, start_year, end_year, lat_range, lon_range, lat_name, lon_name)
Plot the timing of the maximum values with specified lat and lon range
plot_max_tasmax_timing(max_year, lats, lons, lat_range, lon_range, start_year, end_year)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for record-temp-analysis-nc 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| record_temp_analysis_nc-0.1.3.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| record_temp_analysis_nc-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / record_temp_analysis_nc-0.1.3.tar.gz
| Download URL | record_temp_analysis_nc-0.1.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6153860424519f6e0e904a756ab245116d7d65aae841f4f80da6956b565692cf
|
|
BLAKE2b-256 checksum How to use checksums |
8f5a5a53b75502366a397b9608113326a98cfd1917e99f8f7e27f30a0a32a880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / record_temp_analysis_nc-0.1.3-py3-none-any.whl
| Download URL | record_temp_analysis_nc-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50c4023f04973092e7f8f270f8616e0c3f5e3c447166c9ede726d167ad5905dd
|
|
BLAKE2b-256 checksum How to use checksums |
be85ac330b31df96dcd254523f05f2047b6a909c113e72819661ea03580148fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for record-temp-analysis-nc 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.