Package: metR 0.16.0.9000

metR: Tools for Easier Analysis of Meteorological Fields

Many useful functions and extensions for dealing with meteorological data in the tidy data framework. Extends 'ggplot2' for better plotting of scalar and vector fields and provides commonly used analysis methods in the atmospheric sciences.

Authors:Elio Campitelli [cre, aut]

metR_0.16.0.9000.tar.gz
metR_0.16.0.9000.zip(r-4.5)metR_0.16.0.9000.zip(r-4.4)metR_0.16.0.9000.zip(r-4.3)
metR_0.16.0.9000.tgz(r-4.4-any)metR_0.16.0.9000.tgz(r-4.3-any)
metR_0.16.0.9000.tar.gz(r-4.5-noble)metR_0.16.0.9000.tar.gz(r-4.4-noble)
metR_0.16.0.9000.tgz(r-4.4-emscripten)metR_0.16.0.9000.tgz(r-4.3-emscripten)
metR.pdf |metR.html
metR/json (API)
NEWS

# Install 'metR' in R:
install.packages('metR', repos = c('https://eliocamp.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/eliocamp/metr/issues

Datasets:

On CRAN:

atmospheric-scienceggplot2visualization

12.30 score 142 stars 22 packages 1.0k scripts 4.7k downloads 1 mentions 137 exports 57 dependencies

Last updated 1 months agofrom:1c3d2c3ec1. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winOKNov 14 2024
R-4.5-linuxOKNov 14 2024
R-4.4-winOKNov 14 2024
R-4.4-macOKNov 14 2024
R-4.3-winOKNov 14 2024
R-4.3-macOKNov 14 2024

Exports:%~%AdiabatAnchorBreaksAngleAnomalyas.discretised_scaleas.pathAssignSeasonBuildWaveClausiusClapeyronConvertLongitudecorioliscoriolis.dycrossdenormalisedenormalizeDerivateDetrendDewPointdiscretised_scaleDivergencedlatdlondxdyEOFEPfluxff.dyFilterWaveFitLmFitWavegeom_arrowgeom_contour_fillgeom_contour_tanakageom_contour2geom_label_contourgeom_reliefgeom_shadowgeom_streamlinegeom_text_contourgeom_vectorGeomArrowGeomContour2GeomContourTanakaGeomLabelContourGeomReliefGeomShadowGeomStreamlineGeomTextContourGeostrophicWindGetSMNDataGetTopographyGlanceNetCDFguide_colorstripguide_colourstripIdealGasImpute2DImputeEOFInterpolateis.crossis.full_seasonJumpBylabel_placement_alllabel_placement_flattestlabel_placement_fractionlabel_placement_minmaxlabel_placement_nlabel_placement_randomlabel_placer_alllabel_placer_flattestlabel_placer_fractionlabel_placer_minmaxlabel_placer_nlabel_placer_randomLaplacianLatLabelLonLabelMagMakeBreaksMaskLandMixingRatioPercentileReadNetCDFRepeatCircularResidLmreverselog_transsa_heightsa_height_axissa_height_breakssa_height_transsa_pressuresa_pressure_axissa_pressure_transsa_temperaturescale_color_divergentscale_colour_divergentscale_fill_discretisedscale_fill_divergentscale_fill_divergent_discretisedscale_label_alpha_continuousscale_label_colour_continuousscale_label_size_continuousscale_magscale_mag_continuousscale_stroke.colour_continuousscale_x_latitudescale_x_levelscale_x_longitudescale_y_latitudescale_y_levelscale_y_longitudeScaleDiscretisedseasonseasonallySimilarsmooth_dctsmooth_svdSmooth2Dstat_contour_fillstat_contour2stat_nastat_streamlinestat_subsetStatArrowStatContour2StatContourFillStatNaStatStreamlineStatSubsetStatTextContourTrajectoryVirtualTemperatureVorticityWaveEnvelopeWaveFluxWrapCircular

Dependencies:backportscachemcheckmateclassclassIntclicolorspacecpp11data.tableDBIdigeste1071fansifarverfastmapFormulaformula.toolsgenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmunsellnlmeoperator.toolspillarpkgconfigplyrproxypurrrR6RColorBrewerRcpprlangs2scalessfstringistringrtibbletimechangeunitsutf8vctrsviridisLitewithrwk

Visualization tools

Rendered fromVisualization-tools.Rmdusingknitr::knitron Nov 14 2024.

Last update: 2024-01-20
Started: 2017-08-19

Working with data

Rendered fromWorking-with-data.Rmdusingknitr::knitron Nov 14 2024.

Last update: 2024-10-14
Started: 2018-04-03

Readme and manuals

Help Manual

Help pageTopics
AnomaliesAnomaly
Create discretised versions of continuous scalesas.discretised_scale discretised_scale ScaleDiscretised scale_fill_discretised scale_fill_divergent_discretised
Interpolates between locationsas.path
Converts between longitude conventionsConvertLongitude
Effects of the Earth's rotationcoriolis coriolis.dy f f.dy
Remove some principal components.cut.eof
Denormalise eof matricesdenormalise denormalize
Derivate a discrete variable using finite differencesDerivate Divergence Laplacian Vorticity
Empirical Orthogonal FunctionEOF
Computes Eliassen-Palm fluxes.EPflux
Fast estimates of linear regressionDetrend FitLm ResidLm
ArrowsGeomArrow geom_arrow geom_vector StatArrow
Filled 2d contours of a 3d surfacegeom_contour_fill StatContourFill stat_contour_fill
Illuminated contoursGeomContourTanaka geom_contour_tanaka
2d contours of a 3d surfaceGeomContour2 geom_contour2 StatContour2 stat_contour2
Label contoursGeomLabelContour GeomTextContour geom_label_contour geom_text_contour StatTextContour
Relief ShadingGeomRelief GeomShadow geom_relief geom_shadow
StreamlinesGeomStreamline geom_streamline StatStreamline stat_streamline
Geopotential heightgeopotential
Calculate geostrophic windsGeostrophicWind
Get Meteorological data This function is defunct.GetSMNData
Get topographic dataGetTopography
Impute missing values by linear or constant interpolationImpute2D
Impute missing valuesImputeEOF
Bilinear interpolationInterpolate
Cross patterncross is.cross
Skip observationsJumpBy
Extended logical operators%~% logic Similar
Magnitude and angle of a vectorAngle Mag
Functions for making breaksAnchorBreaks MakeBreaks
Label longitude and latitudeLatLabel LonLabel map_labels
MaskMaskLand
metR: Tools for Easier Analysis of Meteorological FieldsmetR-package metR
PercentilesPercentile
Read NetCDF files.GlanceNetCDF ReadNetCDF
Reverse log transformreverselog_trans
Divergent colour scalesscale_color_divergent scale_colour_divergent scale_divergent scale_fill_divergent
Scales for contour label aestheticsscale_label_alpha_continuous scale_label_colour_continuous scale_label_size_continuous
Helpful scales for mapsscale_latitude scale_longitude scale_x_latitude scale_x_level scale_x_longitude scale_y_latitude scale_y_level scale_y_longitude
Scale for vector magnitudesscale_mag scale_mag_continuous
Assign seasons to monthsAssignSeason is.full_season season seasonally
Smooths a 2D fieldSmooth2D smooth_dct smooth_svd
Transform between spherical coordinates and physical coordinatesdlat dlon dx dy spherical
Standard atmospheresa_height sa_height_axis sa_height_breaks sa_height_trans sa_pressure sa_pressure_axis sa_pressure_trans sa_temperature standard_atmosphere
Filter only NA values.StatNa stat_na
Subset valuesStatSubset stat_subset
Surface heightsurface
Air temperaturetemperature
ThermodynamicsAdiabat ClausiusClapeyron DewPoint IdealGas MixingRatio thermodynamics VirtualTemperature
Compute trajectoriesTrajectory
Calculate wave-activity fluxWaveFlux
Fourier transform functionsBuildWave FilterWave FitWave WaveEnvelope waves
Wrap periodic data to any rangeRepeatCircular WrapCircular