res_code_to_dist: Given L3b data resolution code, get distance

View source: R/bin_funcs.R

res_code_to_distR Documentation

Given L3b data resolution code, get distance

Description

For a given spatial resolution code (see ?gen_nrows), get equivalent distance in km and degrees at the equator (i.e. assuming 1 degree = 111km).

Usage

res_code_to_dist(resolution)

Arguments

resolution

String representing the spatial resolution (see ?gen_nrows for list of accepted strings, e.g. "Q" for 250m or "4" for 4.6km)

Value

List with the distance in degrees and km for the selected resolution code

References

https://oceancolor.gsfc.nasa.gov/docs/format/l3bins/


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