Package: metR 0.15.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.15.0.9000.tar.gz
metR_0.15.0.9000.zip(r-4.5)metR_0.15.0.9000.zip(r-4.4)metR_0.15.0.9000.zip(r-4.3)
metR_0.15.0.9000.tgz(r-4.4-any)metR_0.15.0.9000.tgz(r-4.3-any)
metR_0.15.0.9000.tar.gz(r-4.5-noble)metR_0.15.0.9000.tar.gz(r-4.4-noble)
metR_0.15.0.9000.tgz(r-4.4-emscripten)metR_0.15.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

137 exports 140 stars 5.61 score 57 dependencies 22 dependents 1 mentions 1.1k scripts 3.1k downloads

Last updated 4 days agofrom:f0ab4222f1. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winNOTESep 04 2024
R-4.5-linuxNOTESep 04 2024
R-4.4-winOKSep 04 2024
R-4.4-macOKSep 04 2024
R-4.3-winOKSep 04 2024
R-4.3-macOKSep 04 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 Sep 04 2024.

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

Working with data

Rendered fromWorking-with-data.Rmdusingknitr::knitron Sep 04 2024.

Last update: 2024-01-20
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 dataGetSMNData
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