seaice: Get sea ice data.

Description Usage Arguments Details Value Examples

View source: R/seaice.r

Description

Get sea ice data.

Usage

1

Arguments

url

A url for a NOAA sea ice ftp file

...

Further arguments passed on to readshpfile function, see readshpfile

Details

If you want to reproject the shape files, use readshpfile to read in shape file, then reproject, and so on.

Value

A data.frame

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# Look at data.frame's for a series of years for Feb, South pole
urls <- sapply(seq(1979,1990,1), function(x) seaiceeurls(yr=x,
  mo='Feb', pole='S'))
out <- lapply(urls, seaice)
lapply(out, head)

# Map a single year/month/pole combo
urls <- seaiceeurls(mo='Apr', pole='N', yr=1990)
out <- seaice(urls)
library('ggplot2')
ggplot(out, aes(long, lat, group=group)) +
   geom_polygon(fill="steelblue") +
   theme_ice()

## End(Not run)

leighseverson/rnoaa documentation built on May 21, 2019, 3:06 a.m.