R functions to extract and visualise radar data from the NIMROD System.
"A collection of products from rain radars operated by the Met Office and other European agencies for the UK and Europe."
Met Office (2003): Met Office Rain Radar Data from the NIMROD System. NCAS British Atmospheric Data Centre. http://catalogue.ceda.ac.uk/uuid/82adec1f896af6169112d09cc1174499
NOTE: At the moment, the code here assumes the 5km composite radar product.
source('nimrod.R')
coast = read.csv('nimrod_coast.csv')
# read data
# assumes data has been stored locally (see below)
# might have to specify the `nimrod_dir` option
img = nimrod_read(from='2020-02-01', to='2020-02-05', by='60 min')
# apply a bounding box (here: UK)
img = nimrod_apply_bbox(img, xlim=c(-2e5, 8e5), ylim=c(-1e5,12e5))
# animate the image collection
nimrod_animate(img, coast=coast)
# plot a single image
nimrod_plot(img[[1]])
lines(coast)- The entry point to the NIMROD data on CEDA is https://catalogue.ceda.ac.uk/uuid/82adec1f896af6169112d09cc1174499
- You will have register a CEDA account and apply for permission to access the data.
- Ftp download with filezilla:
- CEDA user name and password
- Host: ftp.ceda.ac.uk
- Remote site: /badc/ukmo-nimrod/data/composite/uk-5km
- download data by drag and drop
- The R code assumes a local directory structure similar to how the files are
stored on CEDA, i.e. daily
*.dat.gz.tarfiles stored in subfolders per year
<nimrod_dir>
│
├── 2019
│ ├── metoffice-c-band-rain-radar_uk_20190101_5km-composite.dat.gz.tar
│ ├── metoffice-c-band-rain-radar_uk_20190102_5km-composite.dat.gz.tar
│ ├── ...
│
├── 2020
│ ├── metoffice-c-band-rain-radar_uk_20200101_5km-composite.dat.gz.tar
│ ├── metoffice-c-band-rain-radar_uk_20200102_5km-composite.dat.gz.tar
│ ├── ...
...
Made with Natural Earth. Free vector and raster map data @ <naturalearthdata.com>