Learn R Programming

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

cmsafops (version 1.3.0)

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

697

Version

1.3.0

License

GPL (>= 3)

Maintainer

Steffen Kothe

Last Published

September 18th, 2023

Functions in cmsafops (1.3.0)

calc_overlapping_time

Routine to calculate overlapping time periods in two files.
calc_allDatesNc

Designed for the CM SAF R Toolbox.
cmsaf.add

Add the fields of two input NetCDF files.
acsaf_box_mergetime

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

Add grid info
cmsaf.mulc

Multiply data with a constant.
cmsaf.cat

Concatenate datasets of several NetCDF input files.
cmsaf.detrend

Linear detrending of time series
cmsaf.addc

Add a constant to a dataset.
change_att

Change attributes of a NetCDF variable.
cmsaf.div

Divide the fields of two input NetCDF files.
cmsaf.regres

Estimate regression parameter
calc_timestepNc

Designed for the CM SAF R Toolbox.
cmsafops-package

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

Determine daily averages
cmsaf.adjust.two.files

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

Divide data by a constant.
cmsaf.subc

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

Transform the coordinate system to -180 to 180 longitude of an infile
cmsaf.sub

Subtract the fields of two input NetCDF files.
divdpm

Divide by days per month.
extract.level

Extract levels from 4-dimensional NetCDF files.
daysum

Determine daily sums
check.coordinate.system

Designed for the CM SAF R Toolbox.
extract.period

Remove a time period.
cmsaf.mk.test

Apply Mann-Kendall trend test.
cmsaf.mul

Multiply the fields of two input NetCDF files.
cmsaf.sub.rel

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

Determine daily variances
daymax

Determine daily maxima
dayrange

This function determines the diurnal range.
daymean

Determine daily means
fldcor

Determine correlations in grid space.
daysd

Determine daily standard deviations
fldrange

Determine the spatial range
fldsd

Determine the spatial standard deviation
mon.anomaly.climatology

Designed for the CM SAF R Toolbox.
cmsaf.stats

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

Number of timesteps per month above a threshold.
fldsum

Determine the spatial sum
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.
monavg

Determine monthly averages
daymin

Determine daily minima
gridboxmax

Determine maxima of selected grid boxes
get_date_time

Get dates and times from NetCDF type date format.
mondaymean

Determine mean monthly daily variations
remap

Grid interpolation.
get_basename

Determine the basename of a NetCDF file
runmax

Determine running maxima
get_dimensions

Designed for the CM SAF R Toolbox.
gridboxmin

Determine minima of selected grid boxes
runmean

Determine running means
runmin

Determine running minima
get_nc_version

Designed for the CM SAF R Toolbox.
gridboxmean

Determine means of selected grid boxes
gridboxrange

Determine ranges of selected grid boxes
mermean

Determine meridional means
gridboxvar

Determine variances of selected grid boxes
mon.anomaly

Determine monthly anomalies
timselmean

Determine time selection means
timselsum

Determine time selection sums
hourmean

Determine hourly means
get_processing_time_string

Get processing time string
daypctl

Determine daily percentiles
hoursum

Determine hourly sums
monsd

Determine monthly standard deviations
trend_advanced

Determine multiple linear trends.
fldmean

Determine the spatial mean
wfldmean

Determine the weighted spatial mean.
fldmin

Determine the spatial minimum.
monsum

Determine monthly sums
get_time

Convert time steps to POSIXct.
ncinfo

Get information about the content of a NetCDF file.
levbox_mergetime

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

Designed for the CM SAF R Toolbox.
muldpm

Multiply by days per month.
monmin

Determine monthly minima
num_above

Number of timesteps above a threshold.
mon_num_below

Number of timesteps per month below a threshold.
mon_num_equal

Number of timesteps per month equal a threshold.
multimonmean

Determine multi-monthly means
num_below

Number of timesteps below a threshold.
sellonlatbox

Select a region by longitude and latitude.
selmon

Extract a list of months.
timsum

Determine all-time sum.
seasmean

Determine seasonal means
monpctl

Determine monthly percentiles
seassd

Determine seasonal standard deviations
fldcovar

Determine covariances in grid space.
selpoint.multi

Extract data at multiple points.
trend

Determine linear trends.
seltime

Extract specific timestep.
fldmax

Determine the spatial maximum
monvar

Determine monthly variance
gridboxsd

Determine standard deviations of selected grid boxes
gridboxsum

Determine sums of selected grid boxes
multimonsum

Determine multi-monthly sums
seassum

Determine seasonal sums
timcumsum

Accumulate data of NetCDF file.
ydaysd

Determine multi-year daily standard deviations
num_equal

Number of timesteps equal a threshold.
runsum

Determine running sums
seas.anomaly

Determine seasonal anomalies.
timmax

Determine all-time maxima.
seasvar

Determine seasonal variances
selyear

Extract a list of years.
ydaysum

Determine multi-year daily sums
selperiod

Extract a list of dates.
timavg

Determine all-time average.
yearmax

Determine annual maxima
monmax

Determine monthly maxima.
monmean

Determine monthly means
selpoint

Extract data at a given point.
timpctl

Determine percentile over all timesteps.
yearvar

Determine annual variance
ydrunmean

Determine multi-year daily running means.
yearmean

Determine annual means
read_file

Designed for the CM SAF R Toolbox.
ymonmax

Determine multi-year monthly maxima.
timsd

Determine all-time standard deviations.
ydaymin

Determine multi-year daily minima
read_ncvar

Read NetCDF variable.
yseasmin

Determine multi-year seasonal minima.
yseassd

Determine multi-year seasonal standard deviations.
runrange

Determine running range
ydayrange

Determine multi-year daily range
ydrunsum

Determine multi-year daily running sums
year.anomaly

Determine annual anomalies.
zonsum

Determine zonal sums
zonmean

Determine zonal means
ydrunsd

Determine multi-year daily running standard deviations
ymonmean

Determine multi-year monthly means.
runsd

Determine running standard deviation
timcor

Determine correlations over time.
timcovar

Determine covariances over time.
timmean

Determine all-time mean.
timmin

Determine all-time minima.
ymonmin

Determine multi-year monthly minima.
yearmin

Determine annual minima
ydaymax

Determine multi-year daily maxima
yearrange

Determine annual range
ydaymean

Determine multi-year daily means.
yearsd

Determine annual standard deviation
yearsum

Determine annual sums
yseasmax

Determine multi-year seasonal maxima.
ymonsd

Determine multi-year monthly standard deviations.
yseasmean

Determine multi-year seasonal means.
ymonsum

Determine multi-year monthly sums.
cmsaf.abs

Determine absolute values
box_mergetime

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