obpg1_to_obpg2: Convert OBPG old-style filenames to OBPG new-style filenames

Description Usage Arguments Value

View source: R/misc.R

Description

A2004001.L3m_DAY_CHL_chlor_a_4km becomes AQUA_MODIS.20040101.L3m.DAY.CHL.chlor_a.4km

Usage

1
2
3
4
5
obpg1_to_obpg2(
  x = c("A2004001.L3m_DAY_CHL_chlor_a_4km.nc", "A2004001.L3m_DAY_SST_sst_4km.nc",
    "AQUA_MODIS.20191130.L3m.DAY.NSST.sst.4km.NRT.nc",
    "NPP_VIIRS.20190703.L3m.DAY.SST.sst.4km.nc", "Ocean Hack Week")
)

Arguments

x

character, one or more obpg style filenames, directory paths and extensions are dropped

Value

character vector of obpg2 style filenames without path and extension


BigelowLab/ohwobpg documentation built on Aug. 11, 2020, 11:51 p.m.