Skip to content

Commit

Permalink
Prep release
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Oct 21, 2024
1 parent a4f4b3b commit 82fed0b
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 82 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# rsi (development version)

* A test that requires online resources is now skipped on CRAN. There are
no user-facing changes in this version.

# rsi 0.3.0

* rsi has been peer-reviewed by the rOpenSci project! Huge thank you to
Expand Down
1 change: 1 addition & 0 deletions R/download.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ rsi_download_rasters <- function(items,
)
},
error = function(e) {
browser()
rlang::warn(
glue::glue(
"Failed to download {items$features[[which_item]]$id %||% 'UNKNOWN'} from {items$features[[which_item]]$properties$datetime %||% 'UNKNOWN'}" # nolint
Expand Down
99 changes: 19 additions & 80 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
[![R-CMD-check](https://github.com/Permian-Global-Research/rsi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Permian-Global-Research/rsi/actions/workflows/R-CMD-check.yaml)
[![Codecov test
coverage](https://codecov.io/gh/Permian-Global-Research/rsi/branch/main/graph/badge.svg)](https://app.codecov.io/gh/Permian-Global-Research/rsi?branch=main)
[![License: Apache
2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/license/apache-2-0)
[![License:
Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/license/apache-2-0)
[![Lifecycle:
maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#maturing)
[![Project Status: Active – The project has reached a stable, usable
Expand All @@ -27,17 +27,20 @@ The goal of rsi is to address several **r**epeated **s**patial
and help avoid **r**epetitive **s**tress **i**njuries. Specifically, rsi
provides:

- An interface to the **R**some – excuse me, [*Awesome* Spectral Indices
project](https://github.com/awesome-spectral-indices/awesome-spectral-indices),
providing the list of indices directly in R as a friendly tibble,
- A method for efficiently *calculating* those awesome spectral indices
using local rasters, enabling **r**apid **s**pectral **i**nference,
- A method for downloading STAC data – excuse me, **r**etriving **S**TAC
**i**nformation – from any STAC server, with additional helpers for
downloading Landsat, Sentinel-1, and Sentinel-2 data from free and
public STAC servers providing **r**apid **s**atellite **i**magery,
- A **r**aster **s**tack **i**ntegration method for combining multiple
rasters containing distinct data sets into a single raster stack.
- An interface to the **R**some – excuse me, [*Awesome* Spectral
Indices
project](https://github.com/awesome-spectral-indices/awesome-spectral-indices),
providing the list of indices directly in R as a friendly tibble,
- A method for efficiently *calculating* those awesome spectral
indices using local rasters, enabling **r**apid **s**pectral
**i**nference,
- A method for downloading STAC data – excuse me, **r**etriving
**S**TAC **i**nformation – from any STAC server, with additional
helpers for downloading Landsat, Sentinel-1, and Sentinel-2 data
from free and public STAC servers providing **r**apid **s**atellite
**i**magery,
- A **r**aster **s**tack **i**ntegration method for combining multiple
rasters containing distinct data sets into a single raster stack.

The functions in rsi are designed around letting you use the tools
you’re familiar with to process raster data using compute that you
Expand Down Expand Up @@ -75,7 +78,7 @@ project](https://github.com/awesome-spectral-indices/awesome-spectral-indices):
library(rsi)

spectral_indices()
#> # A tibble: 231 × 9
#> # A tibble: 243 × 9
#> application_domain bands contributor date_of_addition formula long_name
#> <chr> <list> <chr> <chr> <chr> <chr>
#> 1 vegetation <chr [2]> https://gith… 2021-11-17 (N - 0… Aerosol …
Expand All @@ -88,7 +91,7 @@ spectral_indices()
#> 8 vegetation <chr [2]> https://gith… 2022-04-08 (N * (… Advanced…
#> 9 water <chr [4]> https://gith… 2021-09-18 4.0 * … Automate…
#> 10 water <chr [5]> https://gith… 2021-09-18 B + 2.… Automate…
#> # ℹ 221 more rows
#> # ℹ 233 more rows
#> # ℹ 3 more variables: platforms <list>, reference <chr>, short_name <chr>
```

Expand Down Expand Up @@ -144,70 +147,6 @@ landsat_image <- get_landsat_imagery(
end_date = "2022-08-30",
output_filename = tempfile(fileext = ".tif")
)
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 0: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 1: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 2: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 3: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 4: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 5: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 6: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
#> ext 7: 1.66848e+06 1.67049e+06 2.52827e+06 2.53028e+06
terra::plot(terra::rast(landsat_image))
```

Expand Down Expand Up @@ -289,7 +228,7 @@ other multi-band rasters from various data sources.

## Contributing

We love contributions! See our [contribution
We love contributions\! See our [contribution
guide](https://github.com/Permian-Global-Research/rsi/blob/main/.github/CONTRIBUTING.md)
for pointers on how to make your contribution as easy to accept as
possible – in particular, consider [opening an
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is the sixth CRAN release of rsi. The package has now been reviewed
by rOpenSci and contains improvements stemming from that review.
This is the seventh CRAN release of rsi, fixing a test error that
arose on CRAN.

## R CMD check results

Expand Down
Binary file modified man/figures/README-unnamed-chunk-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-4-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-5-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-8-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 82fed0b

Please sign in to comment.