A python package to create fancy plots with NOAA weather data.
I recommend to use a fresh conda environment
conda create -n noaaplotter python pip
activate conda environment
conda activate noaaplotter
pip install noaaplotter and dependencies
pip install git+https://github.com/initze/noaaplotter.git
- matplotlib
- numpy
- pandas
- python
- requests
- joblib
- tqdm
- geemap
Download daily summaries (temperature + precipitation) from Kotzebue (or other station) from 1970-01-01 until 2021-12-31
- NOAA API Token is required: https://www.ncdc.noaa.gov/cdo-web/token
download_data.py -o ./data/kotzebue.csv -sid USW00026616 -start 1970-01-01 -end 2021-12-31 -t <NOAA API Token>
CSV files of "daily summaries" ("https://www.ncdc.noaa.gov/cdo-web/search")
- Values: metric
- File types: csv
Download daily summaries (temperature + precipitation) from Potsdam (13.05°E, 52.4°N) from 1980-01-01 until 2021-12-31
- Google Earthengine account is required
- Caution: full dataset may take a few minutes
download_data_ERA5.py -o ./data/potsdam_ERA5.csv -start 1980-01-01 -end 2021-12-31 -lat 52.4 -lon 13.05
plot_daily.py -infile data/kotzebue.csv -start 1992-01-01 -end 1992-12-31 -t_range -45 25 -p_range 50 -plot
Temperature:
plot_monthly.py -infile data/data2.csv -start 1980-01-01 -end 2021-08-31 -type Temperature -trail 12 -save_plot figures/kotzebue_monthly_temperature_anomaly.png -plot
Precipitation:
plot_monthly.py -infile data/data2.csv -start 1980-01-01 -end 2021-08-31 -type Precipitation -trail 12 -save_plot figures/kotzebue_monthly_precipitation.png -anomaly -plot
Temperature:
plot_monthly.py -infile data/data2.csv -start 1980-01-01 -end 2021-08-31 -type Temperature -trail 12 -save_plot figures/kotzebue_monthly_temperature_anomaly.png -anomaly -plot
Precipitation:
plot_monthly.py -infile data/data2.csv -start 1980-01-01 -end 2021-08-31 -type Precipitation -trail 12 -save_plot figures/kotzebue_monthly_precipitation_anomaly.png -anomaly -plot