# Apply Statistical Post-Processing to Improve Sea Ice Predictions

## Documentation for package ‘IceCast’ version 2.1.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

all_regions | Polygon of all regions
any_intersect | Check if a line has intersecting segments
bg_water | Polygon of the non-regional ocean
bound_info | Get boundary info
calc_pars | Compute Parameters Estimates
censor | Truncate simulated line lengths based on a list of bounds
check_intersect | Check if line segments intersect
clim_9_2005_2007 | Climatology forecast for 2005-2007.
clim_9_2008 | Climatology forecast for 2008.
cond_prob | Compute conditional probability of observed event
contig_zero | Find indices of sequences of contiguous zeros
contour_shift | Apply contour-shifting to bias correct
conv_to_grid | Convert 'SpatialPolygons' object to a grid
create_mapping | Map a set of observations and predictions
currSecEx | Coordinates of a line segment with self-intersections
discrep | Discrepancy maps for September 1993-2007 (lead time 2.5-months)
dist_mat | Compute 'distances' among $n$ lines
ecmwf_bin | Binary predictions from ECMWF ensemble, September 1993-2018
extract_coords | Function to extract coordinates.
find_trans | Find transition points (points at the start/end of polygons)
fit_cont_pars | Sets up MCMC to fit the parameters of the contour Model in R, then runs the sampler in C++
fit_weights | Compute weighting between two models
full | Sample collection of completely ice-filled regions
gen_cont | Generate contours
get_area | Calculate geodesic area
get_coords | Extract coordinates from a spatial object of lines and points
get_dist | Find euclidean distance
get_ind | Find indices in matrix
get_init_month | Get initialization month
get_map | Map one observation or prediction
get_region | Get polygons corresponding to regions
indiv_poly | Generate an individual polygon from a set of points
interEx | Example of a line that contains self-intersections
interp_new_pts | Interpolate along region boundaries
inter_start_line | Add points where line connecting point sequence crosses start_line
int_line | Space points along a line
keep_line | Keep only spatial lines
keep_poly | Keep only spatial polygons
land | Polygon of land
land_mat | Binary matrix indicating where there is land
make_polygons | Create polygon from mapped points
mappedPoints | Example of mapped points
mapxy | Get geodetic latitudes and longitudes
map_curr_1 | Sample output from 'get_map'
merged | Sample list of contours
merge_conts | Merge contours
obsLEx | Coordinates of an observed line segment
obsSep2006_2007 | Observed sea ice September 2006-2007
obsSep2008 | Observed sea ice September 2008
obs_9_2005_2007 | Observed sea ice for September 2005-2007
obs_9_2008 | Observed sea ice for September 2008
obs_maps | Output from 'create_mapping' function
pars_1 | Sample parameter information for generating a contour
ppe_9_2005_2007 | Post-procesed ensemble forecast for 2005-2007
ppe_9_2008 | Post-procesed ensemble forecast for 2008
predLEx | Coordinates of a predicted line segment
pred_maps | Computed mappings for predictions for September 1993-2008
prob_map | Get probabilities on a grid from contours
prop_area | Proportion of total area by grid box
pt_line_inter | Check if a point crosses a line segment
quick_run | Simple evaluation of contour-shifting
read_bootstrap | Read individual bootstrap binary file
read_monthly_BS | Read in a set of bootstrap observations over a set of year
reg_info | List of information about each region
rm_holes | Remove holes in a polygon
RunMCMC | Run MCMC to Fit Contour Model
sec_to_interp | Interpolate a section of line
sipSep2006_2007 | Ensemble sea ice probability for September 2006-2007 (lead time 2.5 months)
sipSep2008 | Ensemble estimated sea ice probability September 2008 (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
ts_adj_mu | Trend Adjustment For 'mu'
untwist | Remove self-intersections
untwist_sec | Remove self-intersections from one section of a contour
wght_mod | Function to weight two models
y_obs | Compute y