Learn R Programming

⚠️There's a newer version (1.4.3) of this package.Take me there.

cmsafops (version 1.2.4)

Tools for CM SAF NetCDF Data

Description

The Satellite Application Facility on Climate Monitoring (CM SAF) is a ground segment of the European Organization for the Exploitation of Meteorological Satellites (EUMETSAT) and one of EUMETSATs Satellite Application Facilities. The CM SAF contributes to the sustainable monitoring of the climate system by providing essential climate variables related to the energy and water cycle of the atmosphere (). It is a joint cooperation of eight National Meteorological and Hydrological Services. The 'cmsafops' R-package provides a collection of R-operators for the analysis and manipulation of CM SAF NetCDF formatted data. Other CF conform NetCDF data with time, longitude and latitude dimension should be applicable, but there is no guarantee for an error-free application. CM SAF climate data records are provided for free via (). Detailed information and test data are provided on the CM SAF webpage ().

Copy Link

Version

Install

install.packages('cmsafops')

Monthly Downloads

460

Version

1.2.4

License

GPL (>= 3)

Maintainer

Steffen Kothe

Last Published

March 15th, 2022

Functions in cmsafops (1.2.4)

cmsaf.add

Add the fields of two input NetCDF files.
add_grid_info

Add grid info
acsaf_box_mergetime

Function to combine ACSAF NetCDF files and simultaneously cut a region.
cmsaf.mulc

Multiply data with a constant.
calc_allDatesNc

Designed for the CM SAF R Toolbox.
box_mergetime

Function to combine NetCDF files and simultaneously cut a region (and level).
cmsaf.regres

Estimate regression parameter
cmsaf.detrend

Linear detrending of time series
cmsaf.cat

Concatenate datasets of several NetCDF input files.
cmsafops

cmsafops: A package for analyzing and manipulating CM SAF NetCDF formatted data.
cmsaf.addc

Add a constant to a dataset.
dayavg

Determine daily averages
divdpm

Divide by days per month.
extract.level

Extract levels from 4-dimensional NetCDF files.
fldsum

Determine the spatial sum
cmsaf.div

Divide the fields of two input NetCDF files.
get_basename

Determine the basename of a NetCDF file
daymax

Determine daily maxima
fldcor

Determine correlations in grid space.
daymean

Determine daily means
extract.period

Remove a time period.
cmsaf.divc

Divide data by a constant.
daysum

Determine daily sums
change_att

Change attributes of a NetCDF variable.
check.coordinate.system

Designed for the CM SAF R Toolbox.
dayvar

Determine daily variances
get_time_info

Designed for the CM SAF R Toolbox.
get_time

Convert time steps to POSIXct.
cmsaf.adjust.two.files

Routine to adjust the time dimensions and coordinates in two files.
cmsaf.subc

Subtract a constant from a dataset.
cmsaf.transform.coordinate.system

Transform the coordinate system to -180 to 180 longitude of an infile
fldmean

Determine the spatial mean
cmsaf.sub.rel

Subtract the fields of two input NetCDF files (relative). Designed for the CM SAF R Toolbox.
cmsaf.sub

Subtract the fields of two input NetCDF files.
get_nc_version

Designed for the CM SAF R Toolbox.
get_processing_time_string

Get processing time string
mondaymean

Determine mean monthly daily variations
monavg

Determine monthly averages
fldmin

Determine the spatial minimum.
calc_overlapping_time

Routine to calculate overlapping time periods in two files.
daysd

Determine daily standard deviations
get_date_time

Get dates and times from NetCDF type date format.
dayrange

This function determines the diurnal range.
get_dimensions

Designed for the CM SAF R Toolbox.
gridboxmax

Determine maxima of selected grid boxes
read_file

Designed for the CM SAF R Toolbox.
gridboxsd

Determine standard deviations of selected grid boxes
calc_timestepNc

Designed for the CM SAF R Toolbox.
fldrange

Determine the spatial range
fldsd

Determine the spatial standard deviation
gridboxmin

Determine minima of selected grid boxes
gridboxsum

Determine sums of selected grid boxes
gridboxmean

Determine means of selected grid boxes
mon.anomaly.climatology

Designed for the CM SAF R Toolbox.
mermean

Determine meridional means
monvar

Determine monthly variance
mon.anomaly

Determine monthly anomalies
runmax

Determine running maxima
remap

Grid interpolation.
muldpm

Multiply by days per month.
read_ncvar

Read NetCDF variable.
mon_num_above

Number of timesteps per month above a threshold.
runrange

Determine running range
timselmean

Determine time selection means
runsd

Determine running standard deviation
selpoint

Extract data at a given point.
timselsum

Determine time selection sums
selperiod

Extract a list of dates.
monsd

Determine monthly standard deviations
trend_advanced

Determine multiple linear trends.
gridboxvar

Determine variances of selected grid boxes
gridboxrange

Determine ranges of selected grid boxes
wfldmean

Determine the weighted spatial mean.
mon_num_below

Number of timesteps per month below a threshold.
mon_num_equal

Number of timesteps per month equal a threshold.
num_above

Number of timesteps above a threshold.
ncinfo

Get information about the content of a NetCDF file.
runsum

Determine running sums
seas.anomaly

Determine seasonal anomalies.
hourmean

Determine hourly means
sellonlatbox

Select a region by longitude and latitude.
selmon

Extract a list of months.
cmsaf.mul

Multiply the fields of two input NetCDF files.
cmsaf.mk.test

Apply Mann-Kendall trend test.
monsum

Determine monthly sums
yearvar

Determine annual variance
ymonmax

Determine multi-year monthly maxima.
timcumsum

Accumulate data of NetCDF file.
ydaymax

Determine multi-year daily maxima
timmax

Determine all-time maxima.
ymonmean

Determine multi-year monthly means.
cmsaf.stats

Calculates the rmse, mae, bias, correlation in grid space of two NetCDF files. Designed for the CM SAF R Toolbox.
cmsaf.stats.station.data

Calculates the rmse, mae, bias, correlation over time of a NetCDF file and a dataframe (station data). Designed for the CM SAF R Toolbox.
runmin

Determine running minima
runmean

Determine running means
ydaymean

Determine multi-year daily means.
ydrunsum

Determine multi-year daily running sums
ymonmin

Determine multi-year monthly minima.
timpctl

Determine percentile over all timesteps.
selyear

Extract a list of years.
ydrunmean

Determine multi-year daily running means.
timavg

Determine all-time average.
ydrunsd

Determine multi-year daily running standard deviations
timsd

Determine all-time standard deviations.
yearsd

Determine annual standard deviation
daymin

Determine daily minima
daypctl

Determine daily percentiles
yearsum

Determine annual sums
zonmean

Determine zonal means
timsum

Determine all-time sum.
ydayrange

Determine multi-year daily range
ydaymin

Determine multi-year daily minima
trend

Determine linear trends.
yseasmin

Determine multi-year seasonal minima.
year.anomaly

Determine annual anomalies.
yseassd

Determine multi-year seasonal standard deviations.
fldcovar

Determine covariances in grid space.
zonsum

Determine zonal sums
yearmin

Determine annual minima
yearrange

Determine annual range
seassd

Determine seasonal standard deviations
num_equal

Number of timesteps equal a threshold.
monpctl

Determine monthly percentiles
seasmean

Determine seasonal means
num_below

Number of timesteps below a threshold.
monmin

Determine monthly minima
fldmax

Determine the spatial maximum
hoursum

Determine hourly sums
monmax

Determine monthly maxima.
multimonmean

Determine multi-monthly means
monmean

Determine monthly means
levbox_mergetime

Function to combine NetCDF files and simultaneously cut a region and level.
multimonsum

Determine multi-monthly sums
timcovar

Determine covariances over time.
timcor

Determine correlations over time.
seasvar

Determine seasonal variances
seassum

Determine seasonal sums
timmean

Determine all-time mean.
timmin

Determine all-time minima.
yseasmax

Determine multi-year seasonal maxima.
yseasmean

Determine multi-year seasonal means.
selpoint.multi

Extract data at multiple points.
seltime

Extract specific timestep.
ydaysd

Determine multi-year daily standard deviations
ymonsd

Determine multi-year monthly standard deviations.
yearmax

Determine annual maxima
ydaysum

Determine multi-year daily sums
yearmean

Determine annual means
ymonsum

Determine multi-year monthly sums.
cmsaf.abs

Determine absolute values