Releases: brownag/rgeedim
CRAN release 0.4.0
rgeedim 0.4.0
-
Support for geedim v2.0.0 and earthengine-api v1.7+
- Updated API calls to use
ee.Image.gdandee.ImageCollection.gdaccessors - Fixed
gd_collection_from_list()to correctly extract underlyingee.Imagefromgeedim2.0 accessor objects gd_initialize()now defaults tocredentials = NULL, using Application Default Credentials (ADC) by defaultgd_properties()now correctly returns the full image ID (including collection path) forgeedim2.0.0+, fixing an issue where only the asset name was returned.- Fix for
gd_export()whengeedim >= 2.0.0where passingoverwriteargument caused aTypeError. - Consistent use of
ee.Geometryforregionargument ingd_search(),gd_composite(), andgd_download()whengeedim >= 2.0.0.
- Updated API calls to use
-
Authentication and Headless Support
- Standardized on
GOOGLE_CLOUD_QUOTA_PROJECTenvironment variable for automatic project ID detection ingd_initialize() gd_initialize(private_key_file=...)parameter andEE_SERVICE_ACC_PRIVATE_KEYenvironment variable are deprecated in favor of standardGOOGLE_APPLICATION_CREDENTIALSgd_authenticate()andgd_initialize()now support authentication in headless environments (e.g. CI/CD, Workload Identity Federation)- Updated all vignettes and examples to use
gd_is_initialized()and environment variableR_RGEEDIM_RUN_EXAMPLESfor conditional evaluation
- Standardized on
-
gd_region()andgd_region_to_vect()improvementsgd_region()now correctly handlesSpatVectorobjects withMultiPolygongeometries or holes by leveragingterra::writeVector(..., filetype="GeoJSON")- Using Python's native
jsonmodule (viareticulate) for dependency-light GeoJSON serialization and parsing gd_region_to_vect()now supports complex GeoJSON-like lists, includingGeometryCollection
rgeedim 0.2.8
-
With reticulate >= 1.41.0 call
py_require(c("earthengine-api" , "geedim"))on load -
Default Python virtual environment name changed from
"r-reticulate"to"r-rgeedim"- Use
gd_install()to initialize a new environment if needed.
- Use
-
gd_projection(): update for earthengine-api usage ofee.projection.Projectionclass -
Replace use of
knitr+rmarkdownwithlitedownfor readme/vignette building
What's Changed
- rgeedim v0.2.8 by @brownag in #16
- rgeedim v0.2.8 by @brownag in #17
- rgeedim v0.3.0 by @brownag in #19
- rgeedim v0.4.0 by @brownag in #21
Full Changelog: 0.2.7...0.4.0
CRAN Release 0.2.7
rgeedim 0.2.7
-
gd_download()fix bug that prevented overwriting files withoverwrite=TRUEwhencomposite=FALSE -
gd_is_initialized()now accepts additional arguments (...) which are passed togd_initialize() -
Unit tests now specify
project=argument togd_initialize()
Full Changelog: 0.2.6...0.2.7
CRAN Release 0.2.6
rgeedim 0.2.6
-
gd_authenticate(): Updates-
Added
forceandscopesarguments fromearthengine()$Authenticate().forcedefaults toTRUEfor consistency with prior behavior, and because users often want to usegd_authenticate()to change existing credentials. -
Updated documentation for other
auth_modee.g."colab"
-
-
gd_initialize(): Updates-
Added arguments
credentials,cloud_api_key,url,http_transportandproject -
Deprecated argument
opt_url(in favor ofurl)
-
-
Argument updates compatible with older versions of Python 'earthengine-api' (< 0.1.382)
Full Changelog: 0.2.5...0.2.6
CRAN Release 0.2.5
rgeedim 0.2.5
-
Update example for
gd_enum_names() -
Fix different value storage in
gd_enum_elements()(required for reticulate >= 1.29) -
Update examples in /misc folder: https://github.com/brownag/rgeedim/tree/main/misc
- Add new example using
gd_export()and the Earth Engine API directly viaearthengine()
- Add new example using
-
Add
gd_region_to_vect()an inverse method forgd_bbox()/gd_region()that creates a 'terra' SpatVector from a GeoJSON-like list -
Add
gd_list_assets()a helper function for listing the assets associated with a particular Earth Engine project. -
reticulate::configure_environment()is no longer called on load, this is a precaution to avoid unintended impacts from the automatic routine installing on CRAN or similar.
What's Changed
Full Changelog: 0.2.4...0.2.5
CRAN Release 0.2.4
rgeedim 0.2.4
-
Add
gd_task_status()andgd_task_uri()for working with Task object produced bygd_export() -
Fix for
gd_composite()andgd_export()errors whenregionargument is specified as an R spatial object (rather than GeoJSON-like list) -
Fix bug in
gd_enum_elements()and addgd_spectral_distance_metrics() -
gd_initialize(): Fix use of illogical use ofGOOGLE_APPLICATION_CREDENTIALSenvironment variable contents for Google Cloud service accounts under some conditionsEE_SERVICE_ACC_PRIVATE_KEYis used for service accounts, whereas the former is used only for application credentials.GOOGLE_APPLICATION_CREDENTIALSis respected bygd_authenticate()auth_mode"gcloud"and"appdefault".
CRAN Release 0.2.2
rgeedim 0.2.2
-
Added
gd_install()for installation of 'numpy', 'earthengine-api', and 'geedim' Python modules viareticulate::py_install()or asystem()call -
gd_bbox()will now calculate a bounding box extent from one or more {terra}SpatRaster,SpatRasterCollection,SpatVector,SpatVectorProxyinput (in addition to existing support forSpatExtent)- Note that
gd_region()allows for more complex boundary input viaSpatVectoror Well-Known Text (WKT) string
- Note that
-
Improved coercion interface for non-{terra} objects
- The following inputs are now converted to {terra} equivalents (or their extents) as needed: WKT string, Spatial* ({sp} package), Raster* & Extent ({raster} package), sf* and bbox ({sf} package). WKT strings and
SpatExtent-like objects (Extent,bbox) are assumed to be in the"OGC:CRS84"coordinate reference system.
- The following inputs are now converted to {terra} equivalents (or their extents) as needed: WKT string, Spatial* ({sp} package), Raster* & Extent ({raster} package), sf* and bbox ({sf} package). WKT strings and
CRAN Release 0.2.1
rgeedim 0.2.1
- Updates to
.onLoad()to avoid error messages related to Python 3 configuration discovery for {reticulate}
CRAN Release 0.2.0
rgeedim 0.2.0
-
Updates to support new image export to asset functionality in geedim 1.6+
-
Added
gd_export(), a helper method for exporting images to Google Drive, Google Cloud Storage Bucket, or Earth Engine Project assets. -
Added
gd_export_types()"ExportType"enum helper function -
Added
gd_asset_id(), a helper method for creating asset IDs from a file/asset name and (optional) project name. -
Added
gd_get_asset(),gd_update_asset(), andgd_delete_asset(), helper functions for accessing, updating and deleting assets created in a Google Cloud project (i.e. those created viagd_export(..., type="asset"))
-
rgeedim 0.1.1
- Fix for R <4.1 compatibility (replaced lambda
\(x)function syntax, replacedapply(..., simplify=FALSE)usage)
CRAN Release 0.1.0
- Initial CRAN Release