Package: CFtime 1.5.0.9000

CFtime: Using CF-Compliant Calendars with Climate Projection Data

Support for all calendars as specified in the Climate and Forecast (CF) Metadata Conventions for climate and forecasting data. The CF Metadata Conventions is widely used for distributing files with climate observations or projections, including the Coupled Model Intercomparison Project (CMIP) data used by climate change scientists and the Intergovernmental Panel on Climate Change (IPCC). This package specifically allows the user to work with any of the CF-compliant calendars (many of which are not compliant with POSIXt). The CF time coordinate is formally defined in the CF Metadata Conventions document available at <https://cfconventions.org/Data/cf-conventions/cf-conventions-1.12/cf-conventions.html#time-coordinate>.

Authors:Patrick Van Laake [aut, cre, cph]

CFtime_1.5.0.9000.tar.gz
CFtime_1.5.0.9000.zip(r-4.5)CFtime_1.5.0.9000.zip(r-4.4)CFtime_1.5.0.9000.zip(r-4.3)
CFtime_1.5.0.9000.tgz(r-4.4-any)CFtime_1.5.0.9000.tgz(r-4.3-any)
CFtime_1.5.0.9000.tar.gz(r-4.5-noble)CFtime_1.5.0.9000.tar.gz(r-4.4-noble)
CFtime_1.5.0.9000.tgz(r-4.4-emscripten)CFtime_1.5.0.9000.tgz(r-4.3-emscripten)
CFtime.pdf |CFtime.html
CFtime/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/pvanlaake/cftime/issues

On CRAN:

8.89 score 5 stars 14 packages 45 scripts 2.0k downloads 26 exports 1 dependencies

Last updated 25 days agofrom:82cf750be0. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 16 2025
R-4.5-winOKJan 16 2025
R-4.5-linuxOKJan 16 2025
R-4.4-winOKJan 16 2025
R-4.4-macOKJan 16 2025
R-4.3-winOKJan 16 2025
R-4.3-macOKJan 16 2025

Exports:as_timestampboundsbounds<-calendarCFcompleteCFfactorCFfactor_coverageCFfactor_unitsCFmonth_daysCFparseCFsubsetCFtimeCFTimeCFtimestampdefinitionindexOfis_completemonth_daysoffsetsoriginparse_timestampsresolutionslabslicetimezoneunit

Dependencies:R6

Conformance with the CF Metadata Conventions

Rendered fromConformance.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2025-01-13
Started: 2024-12-29

Processing climate projection data

Rendered fromProcessing.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-12-11
Started: 2023-10-09

Working with CFtime

Rendered fromCFtime.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-12-29
Started: 2023-07-25

Readme and manuals

Help Manual

Help pageTopics
Extend a CFTime object+.CFTime CFtime-merge
Equivalence of CFTime objects==.CFTime CFtime-equivalent
Create a vector that represents CF timestampsas_timestamp
Return the timestamps contained in the 'CFTime' instance.as.character.CFTime
Bounds of the time offsetsbounds bounds<-
Basic CF calendarCFCalendar
360-day CF calendarCFCalendar360
365-day CF calendarCFCalendar365
366-day CF calendarCFCalendar366
Julian CF calendarCFCalendarJulian
Proleptic Gregorian CF calendarCFCalendarProleptic
Standard CF calendarCFCalendarStandard
International Atomic Time CF calendarCFCalendarTAI
Coordinated Universal Time CF calendarCFCalendarUTC
Create a factor from the offsets in a 'CFTime' instanceCFfactor
Coverage of time elements for each factor levelCFfactor_coverage
Number of base time units in each factor levelCFfactor_units
CFTime classCFTime
Create a CFTime objectCFtime CFtime-function
Create a factor for a 'CFTime' instancecut cut.CFTime
Properties of a CFTime objectcalendar definition offsets origin properties resolution timezone unit
Deprecated functionsCFcomplete CFmonth_days CFparse CFsubset CFtimestamp deprecated_functions
Find the index of timestamps in the time seriesindexOf
Indicates if the time series is completeis_complete
The length of the offsets contained in the 'CFTime' instance.length.CFTime
Return the number of days in a month given a certain CF calendarmonth_days
Parse series of timestamps in CF format to date-time elementsparse_timestamps
Extreme time series valuesrange.CFTime
Which time steps fall within two extreme valuesslab
Which time steps fall within two extreme valuesslice