complete_logbook_entries: Complete logbook entries after job completion

View source: R/complete_logbook_entries.R

complete_logbook_entriesR Documentation

Complete logbook entries after job completion

Description

'status' and 'runtime' entries can be written only after a job has completed (or failed). This function download the logbook from Peregrine, writes the entries for 'job_ids', and uploads back to Peregrine. EDIT 1.7.0. also updates the logbook with the size of the 'sim' '.csv' file, and summary information about the state of the community at the last step.

Usage

complete_logbook_entries(
  job_ids,
  pkg = "comrad",
  which_one = "sims",
  vars = c("status", "runtime", "csv_size", "last_gen")
)

Arguments

job_ids

eight-digit job IDs given by Peregrine upon submission.

which_one

character, which logbook? can be '"sims"' or '"dd_ml_without_fossil"'

vars

character vector, name of variables to update. Can be 'status', 'runtime', 'csv_size', and/or 'last_gen' (defaults to all).

Author(s)

Théo Pannetier


TheoPannetier/hamr documentation built on Nov. 19, 2022, 3:48 a.m.