Submits a bunch of PEcAn workflows, the details of which are mentioned in CSV format (Currently works for SIPNET models) CSV Template: Columns: model revision met site_id pft start_date end_date sensitivity ensemble comment Each row corresponds to one workflow to be submitted

submit.workflows.csv(server, csvFile)

Arguments

server

Server object obtained using the connect() function

csvFile

CSV file containing the list of all workflow configurations to be submitted

Value

Response obtained from the POST /api/workflow/ endpoint

Author

Tezan Sahu

Examples

server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
res <- submit.workflows.csv(server, "default_tests.csv")
#> Warning: cannot open file 'default_tests.csv': No such file or directory
#> Error in file(file, "rt"): cannot open the connection