Learn R Programming

IceCastV2

Copy Link

Version

Install

install.packages('IceCast')

Monthly Downloads

9

Version

2.1.0

License

GPL (>= 2)

Maintainer

Hannah Director

Last Published

June 24th, 2019

Functions in IceCast (2.1.0)

bg_water

Polygon of the non-regional ocean
get_region

Get polygons corresponding to regions
fit_weights

Compute weighting between two models
ecmwf_bin

Binary predictions from ECMWF ensemble, September 1993-2018
merge_conts

Merge contours
extract_coords

Function to extract coordinates.
full

Sample collection of completely ice-filled regions
mapxy

Get geodetic latitudes and longitudes
obs_9_2005_2007

Observed sea ice for September 2005-2007
get_map

Map one observation or prediction
discrep

Discrepancy maps for September 1993-2007 (lead time 2.5-months)
create_mapping

Map a set of observations and predictions
reg_info

List of information about each region
rm_holes

Remove holes in a polygon
obs_9_2008

Observed sea ice for September 2008
get_area

Calculate geodesic area
contig_zero

Find indices of sequences of contiguous zeros
cond_prob

Compute conditional probability of observed event
keep_poly

Keep only spatial polygons
gen_cont

Generate contours
land

Polygon of land
contour_shift

Apply contour-shifting to bias correct
interEx

Example of a line that contains self-intersections
dist_mat

Compute 'distances' among $n$ lines
inter_start_line

Add points where line connecting point sequence crosses start_line
currSecEx

Coordinates of a line segment with self-intersections
get_ind

Find indices in matrix
make_polygons

Create polygon from mapped points
int_line

Space points along a line
indiv_poly

Generate an individual polygon from a set of points
get_init_month

Get initialization month
land_mat

Binary matrix indicating where there is land
pars_1

Sample parameter information for generating a contour
obs_maps

Output from create_mapping function
map_curr_1

Sample output from get_map
conv_to_grid

Convert SpatialPolygons object to a grid
sipSep2008

Ensemble estimated sea ice probability September 2008 (lead time 2.5 months)
get_coords

Extract coordinates from a spatial object of lines and points
sec_to_interp

Interpolate a section of line
ts_adj_mu

Trend Adjustment For mu
get_dist

Find euclidean distance
untwist

Remove self-intersections
sipSep2006_2007

Ensemble sea ice probability for September 2006-2007 (lead time 2.5 months)
spatialCollEx

Spatial collection example
to_fit

Identify fully ice-covered and ice-free regions
train_ind

Find indices on which to train contour model
mappedPoints

Example of mapped points
obsSep2006_2007

Observed sea ice September 2006-2007
fit_cont_pars

Sets up MCMC to fit the parameters of the contour Model in R, then runs the sampler in C++
interp_new_pts

Interpolate along region boundaries
find_trans

Find transition points (points at the start/end of polygons)
keep_line

Keep only spatial lines
merged

Sample list of contours
obsSep2008

Observed sea ice September 2008
prob_map

Get probabilities on a grid from contours
prop_area

Proportion of total area by grid box
obsLEx

Coordinates of an observed line segment
pred_maps

Computed mappings for predictions for September 1993-2008
untwist_sec

Remove self-intersections from one section of a contour
predLEx

Coordinates of a predicted line segment
read_monthly_BS

Read in a set of bootstrap observations over a set of year
wght_mod

Function to weight two models
read_bootstrap

Read individual bootstrap binary file
pt_line_inter

Check if a point crosses a line segment
ppe_9_2008

Post-procesed ensemble forecast for 2008
quick_run

Simple evaluation of contour-shifting
ppe_9_2005_2007

Post-procesed ensemble forecast for 2005-2007
y_obs

Compute \(y\)
any_intersect

Check if a line has intersecting segments
bound_info

Get boundary info
clim_9_2005_2007

Climatology forecast for 2005-2007.
RunMCMC

Run MCMC to Fit Contour Model
all_regions

Polygon of all regions
calc_pars

Compute Parameters Estimates
clim_9_2008

Climatology forecast for 2008.
censor

Truncate simulated line lengths based on a list of bounds
check_intersect

Check if line segments intersect