Skip to content

Commit f36b320

Browse files
authored
Merge pull request #81 from brazil-data-cube/b-0.9
Pre-release v0.9.1-5
2 parents 93763fd + 50e5164 commit f36b320

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+5786
-1760
lines changed

.drone.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,3 @@ steps:
1919
when:
2020
event:
2121
- push
22-
23-
- name: discord-notify
24-
image: brazildatacube/bdc-drone-discord
25-
settings:
26-
webhook:
27-
from_secret: discord_webhook
28-
when:
29-
status:
30-
- failure
31-
- success

DESCRIPTION

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
Package: rstac
22
Title: Client Library for SpatioTemporal Asset Catalog
3-
Version: 0.9.1-4
3+
Version: 0.9.1-5
44
Authors@R:
55
c(person("Brazil Data Cube Team",
66
email = "[email protected]",
77
role = c("cre", "aut")),
88
person(given = "National Institute for Space Research (INPE)",
99
role = c("cph")))
1010
Description: Provides functions to access, search and download spacetime earth
11-
observation data via SpatioTemporal Asset Catalog (STAC). This package
11+
observation data via SpatioTemporal Asset Catalog (STAC). This package
1212
supports the version 1.0.0 of the STAC specification
13-
(<http://stacspec.org>).
13+
(<https://github.com/radiantearth/stac-spec>).
14+
For further details see Simoes et al. (2021) <doi:10.1109/IGARSS47720.2021.9553518>.
1415
License: MIT + file LICENSE
1516
URL: https://github.com/brazil-data-cube/rstac
1617
BugReports: https://github.com/brazil-data-cube/rstac/issues
1718
Encoding: UTF-8
18-
RoxygenNote: 7.1.1
19+
RoxygenNote: 7.1.2
1920
Depends:
2021
R (>= 3.5)
2122
Imports:
2223
httr,
2324
crayon,
2425
utils,
2526
magrittr,
26-
jsonlite
27+
jsonlite,
28+
lifecycle
2729
Suggests:
2830
covr,
2931
testthat,
3032
vcr
33+
Roxygen: list(markdown = TRUE)

NAMESPACE

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ S3method(after_response,item_id)
88
S3method(after_response,items)
99
S3method(after_response,search)
1010
S3method(after_response,stac)
11+
S3method(assets_filter,STACItem)
12+
S3method(assets_filter,STACItemCollection)
13+
S3method(assets_select,STACItem)
14+
S3method(assets_select,STACItemCollection)
1115
S3method(before_request,RSTACQuery)
1216
S3method(before_request,collection_id)
1317
S3method(before_request,collections)
@@ -26,6 +30,24 @@ S3method(endpoint,item_id)
2630
S3method(endpoint,items)
2731
S3method(endpoint,search)
2832
S3method(endpoint,stac)
33+
S3method(items_assets,STACItem)
34+
S3method(items_assets,STACItemCollection)
35+
S3method(items_bbox,STACItem)
36+
S3method(items_bbox,STACItemCollection)
37+
S3method(items_datetime,STACItem)
38+
S3method(items_datetime,STACItemCollection)
39+
S3method(items_fetch,STACItem)
40+
S3method(items_fetch,STACItemCollection)
41+
S3method(items_fields,STACItem)
42+
S3method(items_fields,STACItemCollection)
43+
S3method(items_length,STACItem)
44+
S3method(items_length,STACItemCollection)
45+
S3method(items_matched,STACItem)
46+
S3method(items_matched,STACItemCollection)
47+
S3method(items_next,STACItem)
48+
S3method(items_next,STACItemCollection)
49+
S3method(items_sign,STACItem)
50+
S3method(items_sign,STACItemCollection)
2951
S3method(parse_params,ext_query)
3052
S3method(parse_params,search)
3153
S3method(print,RSTACQuery)
@@ -44,7 +66,9 @@ export(RSTACDocument)
4466
export(RSTACQuery)
4567
export(after_response)
4668
export(assets_download)
69+
export(assets_filter)
4770
export(assets_list)
71+
export(assets_select)
4872
export(before_request)
4973
export(check_query_verb)
5074
export(check_subclass)
@@ -55,18 +79,24 @@ export(endpoint)
5579
export(ext_query)
5680
export(get_request)
5781
export(items)
82+
export(items_assets)
5883
export(items_bands)
5984
export(items_bbox)
6085
export(items_datetime)
6186
export(items_fetch)
6287
export(items_fields)
88+
export(items_filter)
6389
export(items_group)
6490
export(items_length)
6591
export(items_matched)
92+
export(items_next)
6693
export(items_reap)
94+
export(items_sign)
6795
export(omit_query_params)
6896
export(parse_params)
6997
export(post_request)
98+
export(sign_bdc)
99+
export(sign_planetary_computer)
70100
export(stac)
71101
export(stac_search)
72102
export(stac_version)
@@ -79,7 +109,8 @@ importFrom(httr,content)
79109
importFrom(httr,http_type)
80110
importFrom(httr,status_code)
81111
importFrom(httr,write_disk)
82-
importFrom(jsonlite,validate)
112+
importFrom(jsonlite,fromJSON)
113+
importFrom(lifecycle,deprecated)
83114
importFrom(magrittr,"%>%")
84115
importFrom(utils,URLdecode)
85116
importFrom(utils,modifyList)

NEWS.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# rstac (development version)
22

3+
# rstac 0.9.1-5 (Released 2021-11-01)
4+
5+
* Add support to `lifecycle` package
6+
* Documentation has been changed from `Rd` to `markdown`
7+
* New functions that support assets and items manipulation have been added: `assets_select`, `assets_filter`, and `items_filter`
8+
* The documentation was reviewed
9+
* New examples and tests were added
10+
* `rstac` now supports signatures in `href` using the `items_sign` function
11+
* Function `items_bands()` was changed to `items_assets()`
12+
* Parameters `assets_name` and `assets_names` are now called `asset_names`
13+
* Add the `rstac` reference paper in README
14+
* Add feature name on print items objects
15+
* Create `items_next` function to do a single pagination request
16+
* Adjust download helpers to access data from Microsoft's Planetary Computer
17+
* Update news.md of v0.9.0-1
18+
319
# rstac 0.9.1-4 (Released 2021-09-14)
420

521
* Fix typos
@@ -22,6 +38,21 @@
2238
* Change version 0.9.0 to 0.9.0-2 in DESCRIPTION
2339
* Fix assets without extension in assets_download function
2440

41+
# rstac 0.9.0-1 (Released 2020-10-20)
42+
43+
* Update `ext_query` function
44+
* Add `magrittr` package in depends
45+
* Add function items_bands
46+
* Introduces `items_bbox` and `items_datetime` functions
47+
* Update print.R file
48+
* Fix items_fetch
49+
* Update `assets_download.R` and others functions
50+
* Add function 'get_assets_name'
51+
* Add overwrite and items_max parameter; solve issue #10
52+
* Fix bug in stac_matched and update documentation
53+
* Change function name `.verify_datime()'` to `parse_datetime()`
54+
* Rename function `extension_query` to `ext_query`
55+
2556
# rstac 0.9.0 (Released 2020-09-18)
2657

2758
* Fix issue from CRAN.

0 commit comments

Comments
 (0)