Comments (5)
It's all base plot, this seems to work:
library(stars)
plot(L7_ETMs[,,,1], reset = FALSE)
terra::north(d=500, xy=c(298722.8 -500, 9110728.8 + 1000))
terra::sbar(1000, c(298722.8 -1000, 9110728.8 + 100))
from stars.
It would be super great if it could be done in {stars}
without relying on {terra}
. But of course someone has to implement it :-)
from stars.
But of course someone has to implement it :-)
you mean "copy it"? Yes, and maintain changes in upstream...
from stars.
Not to copy, but would it be easier to follow the existing implementation and maybe simplify something? It seems that these functions are quite stable: https://github.com/rspatial/terra/blame/master/R/plot_scale.R
from stars.
It would be great to have examples somewhere in the documentation.
from stars.
Related Issues (20)
- Inconsistent treatment of units in st_as_sf() HOT 3
- Error with printing and plotting tif object in stars HOT 2
- collapse an x/y dimension to a single geometry dimension HOT 9
- released read_stars errors on standard dataset HOT 1
- Cells counted only once when extracting into overlapping geometries HOT 3
- Unable to open Zarr files HOT 3
- read_mdim cannot find array but cli gdalmdiminfo finds array just fine? HOT 8
- read_ncdf: regular vs rectilinear grids? HOT 2
- Rotate around the centroid in st_geotransform
- Exporting s3 methods from namespace HOT 3
- Reading local Zarr files into stars HOT 13
- netcdf CF 1-8 conform data is missing meta data HOT 1
- Behaviour of `aggregate.stars` when multiple overlaps occur in the same raster pixel HOT 6
- Pixels in the border get weird values with `st_rasterize()` HOT 5
- Enhancement Request: Direct Access to Band Values Using Band Names in stars Object HOT 2
- Non `udunits` confirm units break the read in of netcdf files HOT 5
- st_rasterize Error in rep_len HOT 4
- Unexpected behavior: st_transform a raster and transforming back, it is not identical unless applying st_warp HOT 7
- Three different stars object descriptions from the same file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stars.