Skip to content

sosoc/croc

Repository files navigation

Travis-CI Build Status AppVeyor Build Status

croc

The goal of croc is to allow R users to easily work with ocean colour data.

Installation

You can install croc from github with:

# install.packages("devtools")
devtools::install_github("sosoc/croc")

Example

This is a basic example to read a L3bin file and map it.

## basic example code

There are helper functions to generate longitude / latitude coordinates for the bins (centre or corners). These bins are a sparse, non-rectangular, grid on a Sinusoidal projection, see

https://oceandata.sci.gsfc.nasa.gov/

https://oceancolor.gsfc.nasa.gov/SeaWiFS/TECH_REPORTS/PreLPDF/PreLVol32.pdf

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Note

An earlier version of this package imported from https://github.com/AustralianAntarcticDivision/rrshdf4 to read the old HDF4 L3bin format. This is no longer necessary, and read support is provided for the NetCDF 4.0 (HDF5) version of the files from oceandata.