metR
Tools for Easier Analysis of Meteorological Fields
A meteorology ggplot2 extension where the netCDF reader became the main event
◆Recent moves
- 7mo ago
Subset notation fix in the netCDF reader
A single fix to I() notation handling in ReadNetCDF() subsetting. A patch closing an edge case in the feature area that has absorbed most of this package's recent work.
View source ↗ - 11mo ago
cdo operations, parallel multi-file reads, and a subsetting correctness fix
Brings cdo operations into ReadNetCDF() via rcdo and adds reading across multiple files, optionally in parallel, which moves the reader closer to a data pipeline than a loader. The subsetting fix is the consequential part: requested ranges were resolved to the nearest gridpoint, so asking for 90S to 20S could return data north of it, and could fail badly when a file held nothing inside the range.
View source ↗ - 1y ago
netCDF time parsing handed to the CFtime package
Replaces in-house time axis parsing with CFtime and adds ParseNetCDFtime() as a standalone helper. The maintainer flags it as potentially breaking with a candid note that times are weird, which is the correct posture given the package once had to write its own parser when udunits2 was orphaned.
View source ↗ - 1y ago
netCDF subsetting by dimension index
Lets ReadNetCDF() subset on dimension indices rather than values, so the first or last N timesteps can be requested without knowing the file's date range or length. A small change that removes a common two-step read-then-read-again pattern.
View source ↗ - 1y ago
Longitude scales pass the transform argument correctly
A one-line fix so longitude scales forward trans and transform properly. Published one minute before 0.18.0, making the two effectively a single release.
View source ↗ - 1y ago
EOF rotation takes a function, and scope narrows
Opens EOF() rotation to any user-supplied function rather than a fixed varimax, with the boolean form deprecated. The breaking changes are the more telling half: GetSMNData() is made defunct as a hard-to-maintain hack outside the scope of a general package, and scale_mag() is rebuilt on standard continuous scale machinery rather than its own.
View source ↗