NEWS


ocean3d 0.1.1.9008

The copernicus_* family is withdrawn for now. It is not abandoned: the code is preserved on the feat/7-copernicus branch and in the history of this one, and it will return once it is properly covered by tests (#50).

Breaking changes

ocean3d 0.1.1.9007

The package is renamed from sharkabc3d to ocean3d, to reflect that the 3D workflows apply to any marine taxon or spatial layer, not just sharks and rays.

Breaking changes

ocean3d 0.1.1.9006

Copernicus environmental data acquisition. A new copernicus_* family downloads, organises and summarises data from Copernicus Marine and the ECMWF-operated Copernicus Data Stores.

New functions

Dependencies

ocean3d 0.1.1.9005

The 3D object model. SpatVoxel / SpatEnvelope replace the ad-hoc "3D raster" conventions, and the volumetric functions now dispatch on them.

New classes and constructors

New spatial query verbs

Each takes a SpatEnvelope or SpatVoxel paired with another 3D object, a 2D SpatRaster footprint, or polygons (SpatVector, sf, sfc). A 2D object restricts the domain horizontally and leaves its depths alone.

Breaking changes

| before | after | | --- | --- | | calc_volume(r) | volume(as_envelope(r)) | | calc_volume_overlap(range_rast_a = a, range_rast_b = b) | calc_volume_overlap(x = a, y = b) | | count_3d_overlap(a, b) | intersects_3d(a, b) | | extract_rast_range(range, v) | mask(v, range) | | extract_rast_volume(area, min_depth = 40, max_depth = 600, rast_3d = v) | extract_to_area(area, v, min_depth = 40, max_depth = 600) | | voxelize_range(poly, voxel, depth_min = 0, depth_max = 500) | vect_to_envelope(poly, template, depth_min = 0, depth_max = list(500, seafloor)) | | create_study_voxel(template, bathymetry, depths) | no replacement object — pass the three separately (the study_voxel class and its print() method go too) | | summarise_species_environment() | summarise_range() in vignette("woa-environmental-extraction") | | voxel_to_envelope(fun = "extent" \| "threshold") | voxel_to_envelope(fun = <predicate>) |

Bug fixes

Documentation and internals

ocean3d 0.1.1.9004

ocean3d 0.1.1.9003

ocean3d 0.1.1.9002

ocean3d 0.1.1.9001

ocean3d 0.1.1.9000

ocean3d 0.1.1