Skip to content

Reference

The functions of the Python binding, grouped as in the R reference. Names and argument order match R.

  • Calendars -- Calendar, calendar_from_leaftable, calendar_build, calendar, prune_calendar
  • Navigation and subsetting -- calendar_timeframes, calendar_rank, calendar_timeslices, calendar_leaftable, calendar_family, calendar_ancestry, calendar_children, calendar_parents, calendar_descendants, calendar_ancestors, calendar_share, filter_calendar, calendar_coverage, calendar_summary
  • Catalog and data -- calendar_catalog
  • Tokens -- register_calendar_token, get_calendar_token, list_calendar_tokens
  • Timeframes -- CORE_TIMEFRAMES, as_timeframe
  • Conversions -- datetime_to_timeslice, tsl2dtm, dtm2tsl, tsl2hour, tsl2yday, tsl2month, hour2HOUR, yday2YDAY, expand_calendar, recast_calendar, recast, recast_to_timebase, recast_from_timebase, calendar_map, calendar_map_between, register_calendar_map, register_calendar_map_between, get_calendar_map, get_calendar_map_between, list_calendar_maps, clear_calendar_maps, join_calendar, base_calendar
  • Rules and registries -- CALENDAR_RULES, ALIGNMENT_RULES, register_calendar_rule, get_calendar_rule, list_calendar_rules, clear_calendar_rules, register_calendar_conversion, get_calendar_conversion, list_calendar_conversions, clear_calendar_conversions
  • Python only -- CalendarSummary, as_calendar

R only

Not in the binding yet: calendars, merra2_cities, calendar_layout, calendar_autoplot, calendar_plot, calendar_wall_plot, calendar_wall_layout, calendar_weekdays, geom_calendar, calendar_breaks.