A collection of methods for
- loading and preprocessing weather radar observations of bird movements
- loading environmental data from ERA5
- simulating nocturnal bird migration with an agent/indiviual based model.
To use the birds
python package for simulating nocturnal bird migration or for preprocessing weather radar data, install the package by running
python setup.py install
In addition, note that
- the R package
uvaRadar
is used to download weather radar data (requires login) - the Python package
cdsapi
is used to download ERA5 reanalysis data (requires login; steps are described here) - before accessing h5 data using
wradlib
runexport WRADLIB_DATA=~/
To load weather radar data from the database, first switch to the dataloading
directory,
specify the radars and times of interest in the config.yml
file, and then run
python run_vpts_generation.py path/to/output_dir
To load environmental data for the geographical extent covered by weather radars, first switch to the
dataloading
directory, and then run
python load_era5.py --root path/to/data_dir --years 2015 2016 2017
To simulate bird trajectories in parallel, switch to the simulation
directory,
and then run
python parallel_simulation.py --root path/to/data_dir