getreadysimulationfiles
This module gets ready simulation files from GDrive to be passed to other modules
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Repository
This module gets ready simulation files from GDrive to be passed to other modules
Basic Info
- Host: GitHub
- Owner: tati-micheletti
- License: mit
- Language: R
- Default Branch: main
- Size: 24.4 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
title: "getReadySimulationFiles SpaDES Module" author: "Tati Micheletti" output: github_document:
toc: true
{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
getReadySimulationFiles SpaDES Module
Description
This module helps getting previously simulated files for a given climate scenario and replicate (run) based on a googledrive table. It is designed to import landscape simulation outputs (specifically annual burn data) into a new SpaDES simulation, avoiding the need to re-run computationally intensive models.
Keywords: simulations, pre-run, download
Dependencies
This module requires the following R packages:
* SpaDES.core (>= 2.1.5.9003)
* PredictiveEcology/reproducible
* googledrive
* PredictiveEcology/Require
Events
The module's functionality is divided into two main events:
init:- Runs once at the start of the simulation.
- Connects to Google Drive using parameters provided by the user (
gDriveFolder,climateScenario,replicateRun). - Downloads and prepares the simulation data for the specified time range (
lastHistoricalFireYearKnowntolastYearSimulations). - Processes the downloaded files into
rstCurrentBurnList, a list where each element is aSpatRasterof the burned area for a specific year. - Schedules the
getRstCurrBurnevent to run at the simulation's start time.
getRstCurrBurn:- Runs at the start of the simulation and then repeats at a frequency defined by the
runIntervalparameter. - For the current simulation year (
time(sim)), it extracts the corresponding annual burn raster fromrstCurrentBurnList. - Makes this raster available to other modules as
sim$rstCurrentBurn. - If no burn data is available for the current year, it issues a warning.
- Runs at the start of the simulation and then repeats at a frequency defined by the
Owner
- Name: Tati Micheletti
- Login: tati-micheletti
- Kind: user
- Repositories: 86
- Profile: https://github.com/tati-micheletti
Citation (citation.bib)
@Manual{,
title = "getReadySimulationFiles",
author = "First Middle Last",
organization = "Organization",
address = "Somewhere, Someplace",
year = "2023",
url = "",
}
GitHub Events
Total
- Push event: 4
Last Year
- Push event: 4
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0