Skip to content

Commit

Permalink
Minor modifications in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteDlp committed Dec 8, 2023
1 parent ef9455c commit f5e0cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions R/spatialBehaviour.R
Original file line number Diff line number Diff line change
Expand Up @@ -1272,12 +1272,7 @@ spatialBehaviour <- function(sts,
s <- 1 # Initializing count of storms
cat(" Done\n\n")
cat("Computation settings:\n")
cat(" (*) Temporal resolution: Every", switch(as.numeric(tempRes),
"1" = 60,
"0.75" = 45,
"0.5" = 30,
"0.25" = 15
), "min\n")
cat(" (*) Temporal resolution: Every", tempRes, "min\n")

Check warning on line 1275 in R/spatialBehaviour.R

View check run for this annotation

Codecov / codecov/patch

R/spatialBehaviour.R#L1275

Added line #L1275 was not covered by tests
cat(" (*) Space resolution:", names(resolutions[spaceRes]), "\n")
cat(" (*) Method used:", method, "\n")
cat(" (*) Product(s) to compute:", product, "\n")
Expand Down
7 changes: 1 addition & 6 deletions R/temporalBehaviour.R
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,7 @@ temporalBehaviour <- function(sts,
if (verbose > 0) {
cat(" Done\n\n")
cat("Computation settings:\n")
cat(" (*) Temporal resolution: Every", switch(as.numeric(tempRes),
"1" = 60,
"0.75" = 45,
"0.5" = 30,
"0.25" = 15
), "min\n")
cat(" (*) Temporal resolution: Every", tempRes, "min\n")

Check warning on line 460 in R/temporalBehaviour.R

View check run for this annotation

Codecov / codecov/patch

R/temporalBehaviour.R#L460

Added line #L460 was not covered by tests
cat(" (*) Method used:", method, "\n")
cat(" (*) Product(s) to compute:", product, "\n")
cat(" (*) Asymmetry used:", asymmetry, "\n")
Expand Down

0 comments on commit f5e0cc2

Please sign in to comment.