Skip to content

urbanemissions-info/PSL_EXTRACTS

Repository files navigation

PSL_EXTRACTS

PSL - Timeseries Data

ERA5

Run in project root:

python scripts/era5_extracts.py var lat1 lat2 lon1 lon2

Examples:

python scripts/era5_extracts.py 2m+Air+Temperature 30 40 60 90

Outputs:

Outputs are saved in the data/era5 folder.

  1. Csv -- data from 1980 to 2023

NCEP Reanalaysis

NCEP Reanalysis Dataset link

How to run the script?

Run in project root:

python scripts/psl_extracts.py var lat1 lat2 lon1 lon2

Examples:

python scripts/psl_extracts.py Air+Temperature 30 40 60 90
python scripts/psl_extracts.py Precipitation+Rate 30 40 60 90

Outputs:

Outputs are saved in the data/ncep folder.

  1. Csv -- data from 1948 to 2024
  2. Txt file -- metadata

Animations

To get the timeseries animations, run in project root

python scripts/animation_timeseries.py reanalysis var airshed

Examples:

python scripts/animation_timeseries.py era5 temp2m agra

Use run_animation_timeseries.sh to run this code for all cities.


Regplots

python scripts/regplots.py reanalysis var airshed

Examples:

python scripts/regplots.py era5 temp2m agra

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published