- Added
cc_db_catalog()
to list tables and columns in the database with descriptions (possibly formatted in markdown) by reading from new CalCOFI API endpoints: api.calcofi.io/db_tables, api.calcofi.io/db_columns.
-
Removed non-ASCII characters to allow install of package on Windows.
-
Used
stars::st_as_stars()
to useterra::rast()
SpatRaster withmapview::mapView()
(vs retiredraster::raster()
).
-
Added interpolation functions
pts_to_rast_idw()
andrast_to_contours()
. Renamedmap_contours()
topts_to_contours_gam()
and moved concept from "visualize" to "analyze". -
Added to
cc_places
:- "NOAA Aquaculture Opportunity Areas"
- "BOEM Wind Planning Areas"
- "National Marine Sanctuaries": "Chumash Proposed Action"
- Added database connection functions
cc_db_connect()
andcreate_index()
.
- Fixed nearshore
cc_grid
to includesta_pos == 60
. Renamedcc_grid_areas
tocc_grid_zones
with new categories forsta_shore
("nearshore" OR "offshore") andsta_pattern
("standard", "extended", "historical") per #4. Updatedcc_places
to have the 6 combinations ofcc_grid_zones
.
- Added
cc_places
with three categories for places: 1) CalCOFI (Core, Extended, Nearshore, Offshore); 2) Integrated Ecosystem Assessment (California Current); and 3) National Marine Sanctuary (Cordell Bank, Channel Islands, Greater Farallones, Monterey Bay, Olympic Coast). Augmentedcc_grid*
with missing cells to reduce slivers when intersecting.
cc_grid_area
->cc_grid_areas
data for showing study areas with combinations ofsta_dpos
nearshore (5), offshore (10) and outside (20); wherearea_dpos
can be one of:"5"
,"10"
,"20"
,"5,10"
,"10,20"
or"5,10,20"
- Added
cc_grid
,cc_grid_ctrs
showing the CalCOFI station sampling at varying seperation distances of station positions (sta_pos
) in the CalCOFI coordinate system from nearshore (5
), to offshore (10
) to outside the 113 station extended repeated area (20
), per Station Positions – CalCOFI}
- handle defaults with
plot_depth()
, streamline headings in article and descriptions in functions
- Added
plot_depth()
and example databottle_temp_depth
stations_t_degc
->bottle_temp_lonlat
- rename
tbl_to_contour_ply()
tomap_contours()
- Added
tbl_to_contour_ply()
and example dataarea_calcofi_extended
stations_t_degc
- Added
get_cruises()
andget_raster()
for reading from the CalCOFI API. - Added
map_raster()
andplot_timeseries()
for visualizing. - Added "Get started" vignette and README.Rmd -> README.md with example usage
- Added
get_variables()
,get_timeseries()
for reading from the API at https://api.calcofi.io
- ∆ order of
stations
columns
- Added authors
- Bumped version. Have functions for Analyze (
get_oceano_var_aoi()
) and Visualize (plot_timeseries()
), plus Data (bottle
,dic
,stations
).
- Added a
NEWS.md
file to track changes to the package.