sidfex.osisaf.download.latestNhSIC: Download and process OSI-SAF Arctic sea-ice concentration...

View source: R/sidfex.osisaf.download.latestNhSIC.R

sidfex.osisaf.download.latestNhSICR Documentation

Download and process OSI-SAF Arctic sea-ice concentration data

Description

This function will download the most recent Arctic sea-ice concentration data from the OSI-SAF ftp server and process it using sidfex.osisaf.SIC2dev and sidfex.osisaf.nc2rda.

Usage

  sidfex.osisaf.download.latestNhSIC(url = "ftp://osisaf.met.no/prod/ice/conc/", outdir="", do.calc.lonlati = T, do.del.nc = T, file = NULL)
  

Arguments

url

URL of OSI-SAF ftp server

outdir

character for output directory (current working directory as default); downloaded .nc file and processed .rda file will be written in this directory.

do.calc.lonlati

boolean value, if TRUE (default), the function applies sl.lonlat2D.c2i on grid, otherwise (set to FALSE) only the .nc file is downloaded

do.del.nc

boolean value, if TRUE (default), the function deletes downloaded .nc file at the end of the procedure to save space and keeps the file if set to FALSE.

file

a character value or NULL, in which case the most recent file is downloaded. If a character is specified, the corresponding specific file will be downloaded. Note that the url may need to be adjusted to load older files which are in separate archive folders.

Value

Returns TRUE if the whole procedure came to an end or FALSE if there is already the currently available NetCDF file in the specified output directory.

Note

This function is intended for automated updates of daily sea-ice concentration observations.

Author(s)

Simon Reifenberg

See Also

sidfex.osisaf.SIC2dev, sidfex.osisaf.nc2rda, sl.lonlat2D.c2i


helgegoessling/SIDFEx documentation built on March 15, 2024, 2:26 p.m.