read_h5_L3b: Read NASA OBPG level-3 binned file contents

View source: R/satfile_funcs.R

read_h5_L3bR Documentation

Read NASA OBPG level-3 binned file contents

Description

Note that NASA OBPG L3b file formats are hierarchical netCDF (.nc). Currently netCDF cannot read these, but the hdf5r library can. This function is just a wrapper for a few useful functions in that library, returning the main file contents in a more familiar format.

Usage

read_h5_L3b(h5_file, var_name = NULL)

Arguments

h5_file

String, h5 filename

var_name

Character vector, names of variable(s) to extract (example: "level-3_binned_data/chlor_a"). If left NULL, all dataset variables will be returned.

Value

List containing a dataframe summarizing the contents of the file, global attributes, and data from selected variables and their attributes.


BIO-RSG/oceancolouR documentation built on April 30, 2024, 7:54 a.m.