diff --git a/dev/reference/index.html b/dev/reference/index.html index 415fa13ed..c06acfd2a 100644 --- a/dev/reference/index.html +++ b/dev/reference/index.html @@ -826,14 +826,14 @@
#
Rasters.AbstractRaster
— Type.
AbstractRaster <: DimensionalData.AbstractDimArray
Abstract supertype for objects that wrap an array (or location of an array) and metadata about its contents. It may be memory or hold a FileArray
, which holds the filename, and is only opened when required.
AbstractRaster
s inherit from AbstractDimArray
from DimensionalData.jl. They can be indexed as regular Julia arrays or with DimensionalData.jl Dimension
s. They will plot as a heatmap in Plots.jl with correct coordinates and labels, even after slicing with getindex
or view
. getindex
on a AbstractRaster
will always return a memory-backed Raster
.
#
Rasters.AbstractRasterSeries
— Type.
AbstractRasterSeries <: DimensionalData.AbstractDimensionalArray
@@ -844,7 +844,7 @@ Reference - Exported functionsRasterSeries[Time(Near(DateTime(2001, 1))][:temp][Y(Between(70, 150)), X(Between(-20,20))] |> plot`
RasterSeries
is the concrete implementation.
#
Rasters.AbstractRasterStack
— Type.
AbstractRasterStack
@@ -854,7 +854,7 @@ Reference - Exported functionsRaster
. raster[:somelayer] |> plot
plots the layers array, while raster[:somelayer, X(1:100), Band(2)] |> plot
will plot the subset without loading the whole array.
getindex
on an AbstractRasterStack
with a key returns another stack with getindex
applied to all the arrays in the stack.
-
+
#
Rasters.Band
— Type.
Band <: Dimension
@@ -869,7 +869,7 @@ Reference - Exported functions# Or
mean(A; dims=Band)
-
+
#
Rasters.Mapped
— Type.
Mapped <: AbstractProjected
@@ -880,7 +880,7 @@ Reference - Exported functionsAbstractSampled
LookupArray
, where the dimension index has been mapped to another projection, usually lat/lon or EPSG(4326)
. Mapped
matches the dimension format commonly used in netcdf files.
Fields and behaviours are identical to Sampled
with the addition of crs
and mappedcrs
fields.
The mapped dimension index will be used as for Sampled
, but to save in another format the underlying crs
may be used to convert it.
-
+
#
Rasters.Projected
— Type.
Projected <: AbstractProjected
@@ -895,7 +895,7 @@ Reference - Exported functionssource
+
#
Rasters.Raster
— Type.
Raster <: AbsractRaster
@@ -922,7 +922,7 @@ Reference - Exported functionssource
+
#
Rasters.RasterSeries
— Type.
RasterSeries <: AbstractRasterSeries
@@ -973,7 +973,7 @@ Reference - Exported functionssource
+
#
Rasters.RasterStack
— Type.
RasterStack <: AbstrackRasterStack
@@ -1004,7 +1004,7 @@ Reference - Exported functionsstack = RasterStack(files; mappedcrs=EPSG(4326))
stack[:relhum][Lat(Contains(-37), Lon(Contains(144))
-
+
#
DimensionalData.modify
— Method.
modify(f, series::AbstractRasterSeries)
@@ -1013,7 +1013,7 @@ Reference - Exported functionssource
+
#
Rasters.aggregate
— Function.
aggregate(method, object, scale; filename, progress, skipmissing)
@@ -1044,7 +1044,7 @@ Reference - Exported functions
Note: currently it is faster to aggregate over memory-backed arrays. Use read
on src
before use where required.
-
+
#
Rasters.aggregate!
— Method.
aggregate!(method, dst::AbstractRaster, src::AbstractRaster, scale; skipmissingval=false)
@@ -1062,7 +1062,7 @@ Reference - Exported functionsread
on src
before use where required.
-
+
#
Rasters.boolmask
— Function.
boolmask(obj::Raster; [missingval])
@@ -1112,7 +1112,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.classify
— Function.
classify(x, pairs; lower=(>=), upper=(<), others=nothing)
@@ -1149,7 +1149,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.classify!
— Method.
classify!(x, pairs...; lower, upper, others)
@@ -1199,7 +1199,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.combine
— Method.
combine(A::Union{AbstractRaster,AbstractRasterStack,AbstracRasterSeries}, [dims]) => Raster
@@ -1207,14 +1207,14 @@ Reference - Exported functionssource
+
<a id='Rasters.convertlookup-Tuple{Type{<:LookupArray}, AbstractDimArray}' href='#Rasters.convertlookup-Tuple{Type{<:LookupArray}, AbstractDimArray}'>#
Rasters.convertlookup
— Method.
convertlookup(dstlookup::Type{<:LookupArray}, x)
Convert the dimension lookup between Projected
and Mapped
. Other dimension lookups pass through unchanged.
This is used to e.g. save a netcdf file to GeoTiff.
-
+
#
Rasters.coverage!
— Method.
coverage!(A, geom; [mode, scale])
@@ -1238,7 +1238,7 @@ Reference - Exported functions
+
#
Rasters.coverage
— Method.
coverage(mode, geom; [to, res, size, scale, verbose, progress])
@@ -1268,7 +1268,7 @@ Reference - Exported functionssource
+
#
Rasters.crop
— Function.
crop(x; to)
@@ -1321,14 +1321,14 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.crs
— Function.
crs(x)
Get the projected coordinate reference system of a Y
or X
Dimension
, or of the Y
/X
dims of an AbstractRaster
.
For Mapped
lookup this may be nothing
as there may be no projected coordinate reference system at all. See setcrs
to set it manually.
-
+
#
Rasters.disaggregate
— Function.
disaggregate(method, object, scale; filename, progress, keys)
@@ -1345,7 +1345,7 @@ Reference - Exported functionsread
on src
before use where required.
-
+
#
Rasters.disaggregate!
— Method.
disaggregate!(method, dst::AbstractRaster, src::AbstractRaster, filename, scale)
@@ -1356,7 +1356,7 @@ Reference - Exported functionsread
on src
before use where required.
-
+
#
Rasters.extend
— Function.
extend(xs...; [to])
@@ -1389,7 +1389,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.extract
— Function.
extract(x, geoms; atol)
@@ -1430,14 +1430,14 @@ Reference - Exported functions (geometry = (0.52, 40.37), bio1 = missing, bio3 = missing, bio5 = missing, bio7 = missing, bio12 = missing)
(geometry = (0.32, 40.24), bio1 = 16.321388f0, bio3 = 41.659454f0, bio5 = 30.029825f0, bio7 = 25.544561f0, bio12 = 480.0f0)
-
+
#
Rasters.mappedbounds
— Function.
mappedbounds(x)
Get the bounds converted to the mappedcrs
value.
Whithout ArchGDAL loaded, this is just the regular bounds.
-
+
#
Rasters.mappedcrs
— Function.
mappedcrs(x)
@@ -1445,14 +1445,14 @@ Reference - Exported functionsProjected
lookup this is used to convert Selector
values form the mappedcrs defined projection to the underlying projection, and to show plot axes in the mapped projection.
In Mapped
lookup this is the coordinate reference system of the index values. See setmappedcrs
to set it manually.
-
+
#
Rasters.mappedindex
— Function.
mappedindex(x)
Get the index value of a dimension converted to the mappedcrs
value.
Whithout ArchGDAL loaded, this is just the regular dim value.
-
+
#
Rasters.mask!
— Function.
mask!(x; with, missingval=missingval(A))
@@ -1495,7 +1495,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.mask
— Method.
mask(A:AbstractRaster; with, missingval=missingval(A))
@@ -1544,7 +1544,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.missingmask
— Method.
missingmask(obj::Raster; kw...)
@@ -1573,13 +1573,13 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.missingval
— Function.
missingval(x)
Returns the value representing missing data in the dataset
-
+
#
Rasters.mosaic!
— Method.
mosaic!(f, x, regions...; missingval, atol)
@@ -1611,7 +1611,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.mosaic
— Method.
mosaic(f, regions...; missingval, atol)
@@ -1658,7 +1658,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.points
— Method.
points(A::AbstractRaster; dims=(YDim, XDim), ignore_missing) => Array{Tuple}
@@ -1671,7 +1671,7 @@ Reference - Exported functionssource
+
#
Rasters.rasterize
— Function.
rasterize([reducer], data; kw...)
@@ -1735,7 +1735,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.rasterize!
— Function.
rasterize!([reducer], dest, data; kw...)
@@ -1801,7 +1801,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.replace_missing
— Method.
replace_missing(a::AbstractRaster, newmissingval)
@@ -1820,13 +1820,13 @@ Reference - Exported functions# output
missing
-
+
#
Rasters.reproject
— Method.
reproject(source::GeoFormat, target::GeoFormat, dim::Dimension, val)
reproject
uses ArchGDAL.reproject, but implemented for a reprojecting a value array of values, a single dimension at a time.
-
+
#
Rasters.reproject
— Method.
reproject(target::GeoFormat, x)
@@ -1838,19 +1838,19 @@ Reference - Exported functionssource
+
#
Rasters.setcrs
— Method.
setcrs(x, crs)
Set the crs of a Raster
, RasterStack
, Tuple
of Dimension
, or a Dimension
. The crs
is expected to be a GeoFormatTypes.jl CRS
or Mixed
GeoFormat
type
-
+
#
Rasters.setmappedcrs
— Method.
setmappedcrs(x, crs)
Set the mapped crs of a Raster
, a RasterStack
, a Tuple
of Dimension
, or a Dimension
. The crs
is expected to be a GeoFormatTypes.jl CRS
or Mixed
GeoFormat
type
-
+
#
Rasters.slice
— Method.
slice(A::Union{AbstractRaster,AbstractRasterStack,AbstracRasterSeries}, dims) => RasterSeries
@@ -1859,7 +1859,7 @@ Reference - Exported functionssource
+
#
Rasters.trim
— Method.
trim(x; dims::Tuple, pad::Int)
@@ -1899,7 +1899,7 @@ Reference - Exported functions
WARNING: This feature is experimental. It may change in future versions, and may not be 100% reliable in all cases. Please file github issues if problems occur.
-
+
#
Rasters.zonal
— Method.
zonal(f, x::Union{Raster,RasterStack}; of, kw...)
@@ -1932,7 +1932,7 @@ Reference - Exported functions
output
258×8 DataFrame Row │ country tmin tmax tavg prec ⋯ │ SubStrin… Float32 Float32 Float32 Float64 ⋯ ─────┼────────────────────────────────────────────────────────────────────────── 1 │ Indonesia 21.5447 29.1864 25.3656 271.063 ⋯ 2 │ Malaysia 21.3087 28.4291 24.8688 273.381 3 │ Chile 7.24534 17.9263 12.5858 78.1287 4 │ Bolivia 17.2065 27.7454 22.4759 192.542 5 │ Peru 15.0273 25.5504 20.2888 180.007 ⋯ 6 │ Argentina 13.6751 27.6715 20.6732 67.1837 7 │ Dhekelia Sovereign Base Area 5.87126 15.8991 10.8868 76.25 8 │ Cyprus 5.65921 14.6665 10.1622 97.4474 ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋱ 252 │ Spratly Islands 25.0 29.2 27.05 70.5 ⋯ 253 │ Clipperton Island 21.5 33.2727 27.4 6.0 254 │ Macao S 11.6694 17.7288 14.6988 28.0 255 │ Ashmore and Cartier Islands NaN NaN NaN NaN 256 │ Bajo Nuevo Bank NaN NaN NaN NaN ⋯ 257 │ Serranilla Bank NaN NaN NaN NaN 258 │ Scarborough Reef NaN NaN NaN NaN 3 columns and 243 rows omitted ```
-
+
Reference - Internal functions¤
@@ -1941,13 +1941,13 @@ Reference - Internal functionsAbstractProjected <: AbstractSampled
Abstract supertype for projected index lookups.
-
+
#
Rasters.FileArray
— Type.
FileArray{X} <: DiskArrays.AbstractDiskArray
Filearray is a DiskArrays.jl AbstractDiskArray
. Instead of holding an open object, it just holds a filename string that is opened lazily when it needs to be read.
-
+
#
Rasters.FileStack
— Type.
FileStack{X,K}
@@ -1956,7 +1956,7 @@ Reference - Internal functionssource
+
#
Rasters.OpenStack
— Type.
OpenStack{X,K}
@@ -1966,13 +1966,13 @@ Reference - Internal functions
+
#
Rasters.RasterDiskArray
— Type.
RasterDiskArray <: DiskArrays.AbstractDiskArray
A basic DiskArrays.jl wrapper for objects that don't have one defined yet. When we open
a FileArray
it is replaced with a RasterDiskArray
.
-
+
#
Base.open
— Method.
open(f, A::AbstractRaster; write=false)
@@ -1988,7 +1988,7 @@ Reference - Internal functionsend
By using a do block to open files we ensure they are always closed again after we finish working with them.
-
+
#
Base.read!
— Method.
read!(src::Union{AbstractString,AbstractRaster}, dst::AbstractRaster)
@@ -1997,7 +1997,7 @@ Reference - Internal functionssource
+
#
Base.read
— Method.
read(A::AbstractRaster)
@@ -2005,13 +2005,13 @@ Reference - Internal functionsread(A::AbstractRasterSeries)
read
will move a Rasters.jl object completely to memory.
-
+
#
Base.skipmissing
— Method.
skipmissing(itr::Raster)
Returns an iterable over the elements in a Raster
object, skipping any values equal to either the missingval
or missing
.
-
+
#
Base.write
— Method.
Base.write(filepath::AbstractString, s::AbstractRasterSeries; kw...)
@@ -2020,7 +2020,7 @@ Reference - Internal functionssource
+
#
Base.write
— Method.
Base.write(filename::AbstractString, s::AbstractRasterStack; suffix, kw...)
@@ -2032,21 +2032,21 @@ Reference - Internal functionssource
+
#
Base.write
— Method.
Base.write(filename::AbstractString, A::AbstractRaster; kw...)
Write an AbstractRaster
to file, guessing the backend from the file extension.
Keyword arguments are passed to the write
method for the backend.
-
+
#
Base.write
— Method.
Base.write(filename::AbstractString, ::Type{GRDsource}, s::AbstractRaster; force=false)
Write a Raster
to a .grd file with a .gri header file. The extension of filename
will be ignored.
Returns filename
.
-
+
diff --git a/dev/scripts/generated/basics/burramys_parvus_predictors.csv b/dev/scripts/generated/basics/burramys_parvus_predictors.csv
index 7ee5ae0e4..1a9da9f64 100644
--- a/dev/scripts/generated/basics/burramys_parvus_predictors.csv
+++ b/dev/scripts/generated/basics/burramys_parvus_predictors.csv
@@ -2,25 +2,25 @@ geometry,bio1,bio3,bio7,bio12
"(148.391097, -36.30362)",6.1706977,41.119827,23.4645,1692.0
"(148.332969, -36.433349)",7.8357186,41.597527,23.50275,1500.0
"(148.396453, -36.381847)",6.881583,42.268078,23.133,1544.0
+"(147.1, -37.0)",9.408354,40.790546,23.0895,1292.0
"(148.235596, -36.524924)",8.001604,41.846535,22.85225,1368.0
"(147.096394, -36.935687)",9.408354,40.790546,23.0895,1292.0
"(148.328896, -36.431684)",7.8357186,41.597527,23.50275,1500.0
"(148.240881, -36.400058)",7.8357186,41.597527,23.50275,1500.0
"(148.347186, -36.504673)",8.420698,43.542496,23.142,1223.0
-"(147.1, -37.0)",9.408354,40.790546,23.0895,1292.0
-"(148.338776, -36.430986)",6.881583,42.268078,23.133,1544.0
"(151.250866, -33.831883)",17.316963,45.777245,18.43916,1320.0
+"(148.338776, -36.430986)",6.881583,42.268078,23.133,1544.0
"(151.25, -33.83)",17.316963,45.777245,18.43916,1320.0
-"(148.5, -36.6667)",12.083521,46.92699,24.3545,668.0
+"(148.3667, -36.2667)",6.1706977,41.119827,23.4645,1692.0
+"(148.4167, -36.35)",6.881583,42.268078,23.133,1544.0
"(148.25, -36.4167)",7.8357186,41.597527,23.50275,1500.0
+"(148.5, -36.6667)",12.083521,46.92699,24.3545,668.0
"(148.3167, -36.4167)",7.8357186,41.597527,23.50275,1500.0
"(148.3, -36.45)",7.8357186,41.597527,23.50275,1500.0
-"(148.4167, -36.35)",6.881583,42.268078,23.133,1544.0
+"(148.4833, -36.45)",6.881583,42.268078,23.133,1544.0
"(148.3, -36.45)",7.8357186,41.597527,23.50275,1500.0
-"(148.3667, -36.2667)",6.1706977,41.119827,23.4645,1692.0
"(148.4167, -36.35)",6.881583,42.268078,23.133,1544.0
"(148.3, -36.45)",7.8357186,41.597527,23.50275,1500.0
-"(148.4833, -36.45)",6.881583,42.268078,23.133,1544.0
"(148.3167, -36.4167)",7.8357186,41.597527,23.50275,1500.0
"(148.5, -36.6667)",12.083521,46.92699,24.3545,668.0
"(148.4167, -36.35)",6.881583,42.268078,23.133,1544.0
diff --git a/dev/scripts/generated/basics/data_sources/index.html b/dev/scripts/generated/basics/data_sources/index.html
index cb60a278d..745626954 100644
--- a/dev/scripts/generated/basics/data_sources/index.html
+++ b/dev/scripts/generated/basics/data_sources/index.html
@@ -688,7 +688,7 @@ SMAP¤
kw
: Passed to RasterSeries
.
-
+
Writing file formats to disk¤
@@ -703,7 +703,7 @@ RasterDataSources.jl integrationA = Raster(WorldClim{Climate}, :tavg; month=June)
Makie.plot(A)
-
+
See the docs for Raster
, RasterStack
and RasterSeries
, and the docs for RasterDataSources.getraster
for syntax to specify various data sources.
This page was generated using Literate.jl.
diff --git a/dev/scripts/generated/basics/first_raster/index.html b/dev/scripts/generated/basics/first_raster/index.html
index 56cc26488..1741f2370 100644
--- a/dev/scripts/generated/basics/first_raster/index.html
+++ b/dev/scripts/generated/basics/first_raster/index.html
@@ -639,13 +639,13 @@ Quick start
Ti Sampled{DateTime} DateTime("2001-01-01T00:00:00"):Month(1):DateTime("2002-01-01T00:00:00") ForwardOrdered Regular Points
extent: Extent(X = (25, 30), Y = (25, 30), Ti = (DateTime("2001-01-01T00:00:00"), DateTime("2002-01-01T00:00:00")))missingval: missingparent:
[:, :, 1]
- 25 26 27 28 29 30
- 25 0.688369 0.444839 0.865557 0.894021 0.310606 0.789457
- 26 0.927933 0.929943 0.499855 0.0696172 0.389926 0.447074
- 27 0.339432 0.0955447 0.241425 0.481324 0.532353 0.273658
- 28 0.138295 0.0858343 0.0938807 0.795397 0.103956 0.650885
- 29 0.138143 0.0778367 0.834551 0.260469 0.701014 0.225302
- 30 0.365167 0.682476 0.014285 0.193982 0.916624 0.894284
+ 25 26 27 28 29 30
+ 25 0.429008 0.93986 0.971662 0.430087 0.682266 0.535061
+ 26 0.145596 0.898459 0.443608 0.443415 0.915046 0.662115
+ 27 0.563926 0.831003 0.407218 0.406627 0.660327 0.0124977
+ 28 0.201234 0.262332 0.399131 0.882657 0.743907 0.493154
+ 29 0.202371 0.898827 0.317586 0.5708 0.307101 0.694126
+ 30 0.404285 0.818468 0.917196 0.286121 0.268186 0.407958
[and 12 more slices...]
@@ -669,13 +669,13 @@ Select by index
also
or and interval of indices using the syntax =a:b or (a:b)
@@ -723,13 +723,13 @@ Select by value
More options are available, like Near
, Contains
and Where
.
@@ -807,7 +807,7 @@ Subsetting an objectMakie.plot(madagascar)
-
+
This page was generated using Literate.jl.
diff --git a/dev/scripts/generated/basics/gbif_wflow/index.html b/dev/scripts/generated/basics/gbif_wflow/index.html
index ae0fccb9c..e3a8b69b3 100644
--- a/dev/scripts/generated/basics/gbif_wflow/index.html
+++ b/dev/scripts/generated/basics/gbif_wflow/index.html
@@ -623,16 +623,16 @@ Load¤
│ 148.391 │ -36.3036 │ 2015 │ 11 │ 15 │ Animalia ⋯
│ 148.333 │ -36.4333 │ 2011 │ 11 │ 21 │ Animalia ⋯
│ 148.396 │ -36.3818 │ 2016 │ 11 │ 15 │ Animalia ⋯
-│ missing │ missing │ missing │ missing │ missing │ Animalia ⋯
+│ 147.1 │ -37.0 │ 2008 │ missing │ missing │ Animalia ⋯
│ missing │ missing │ missing │ missing │ missing │ Animalia ⋯
│ missing │ missing │ missing │ missing │ missing │ Animalia ⋯
│ 148.236 │ -36.5249 │ 2012 │ 11 │ 23 │ Animalia ⋯
│ 147.096 │ -36.9357 │ 2020 │ 2 │ 10 │ Animalia ⋯
│ 148.329 │ -36.4317 │ 2016 │ 1 │ 3 │ Animalia ⋯
│ missing │ missing │ missing │ missing │ missing │ Animalia ⋯
-│ 148.241 │ -36.4001 │ 2011 │ 11 │ 18 │ Animalia ⋯
-│ 148.347 │ -36.5047 │ 2012 │ 11 │ 22 │ Animalia ⋯
│ missing │ missing │ missing │ missing │ missing │ Animalia ⋯
+│ missing │ missing │ missing │ missing │ missing │ Animalia ⋯
+│ 148.241 │ -36.4001 │ 2011 │ 11 │ 18 │ Animalia ⋯
│ ⋮ │ ⋮ │ ⋮ │ ⋮ │ ⋮ │ ⋮ ⋱
└──────────────────┴─────────────────┴─────────┴─────────┴─────────┴────────────
77 columns and 285 rows omitted
@@ -647,13 +647,13 @@ Extract coordinatesGet layer / Band
Then extract predictor variables and write to CSV.
using CSV
@@ -6750,7 +6750,7 @@ Get layer / Banddf[1:5, :]
5×5 DataFrame
-Row geometry bio1 bio3 bio7 bio12 Tuple… Float32 Float32 Float32 Float32 1 (148.391, -36.3036) 6.1707 41.1198 23.4645 1692.0 2 (148.333, -36.4333) 7.83572 41.5975 23.5028 1500.0 3 (148.396, -36.3818) 6.88158 42.2681 23.133 1544.0 4 (148.236, -36.5249) 8.0016 41.8465 22.8522 1368.0 5 (147.096, -36.9357) 9.40835 40.7905 23.0895 1292.0
+Row geometry bio1 bio3 bio7 bio12 Tuple… Float32 Float32 Float32 Float32 1 (148.391, -36.3036) 6.1707 41.1198 23.4645 1692.0 2 (148.333, -36.4333) 7.83572 41.5975 23.5028 1500.0 3 (148.396, -36.3818) 6.88158 42.2681 23.133 1544.0 4 (147.1, -37.0) 9.40835 40.7905 23.0895 1292.0 5 (148.236, -36.5249) 8.0016 41.8465 22.8522 1368.0
This page was generated using Literate.jl.
diff --git a/dev/scripts/generated/basics/xiqywts.png b/dev/scripts/generated/basics/gugegdt.png
similarity index 100%
rename from dev/scripts/generated/basics/xiqywts.png
rename to dev/scripts/generated/basics/gugegdt.png
diff --git a/dev/scripts/generated/basics/rfgvokg.png b/dev/scripts/generated/basics/iwpjbqm.png
similarity index 100%
rename from dev/scripts/generated/basics/rfgvokg.png
rename to dev/scripts/generated/basics/iwpjbqm.png
diff --git a/dev/scripts/generated/basics/tbzjton.png b/dev/scripts/generated/basics/oshmsiw.png
similarity index 100%
rename from dev/scripts/generated/basics/tbzjton.png
rename to dev/scripts/generated/basics/oshmsiw.png
diff --git a/dev/scripts/generated/basics/scafuzn.png b/dev/scripts/generated/basics/ouzvbxm.png
similarity index 100%
rename from dev/scripts/generated/basics/scafuzn.png
rename to dev/scripts/generated/basics/ouzvbxm.png
diff --git a/dev/scripts/generated/basics/plot_makie/index.html b/dev/scripts/generated/basics/plot_makie/index.html
index a445f15e7..610a1b98b 100644
--- a/dev/scripts/generated/basics/plot_makie/index.html
+++ b/dev/scripts/generated/basics/plot_makie/index.html
@@ -663,7 +663,7 @@ 2-D rasters in Makiesurface(fig[2, 2], A) # even a 3D plot works!
fig
-
+
3-D rasters in Makie¤
@@ -675,13 +675,13 @@ 3-D rasters in Makiestack = RasterStack(WorldClim{Climate}; month = 1)
Rasters.rplot(stack; Axis = (aspect = DataAspect(),),)
-
+
You can pass any theming keywords in, which are interpreted by Makie appropriately.
The plots seem a little squished here. We provide a Makie theme which makes text a little smaller and has some other space-efficient attributes:
Makie.set_theme!(Rasters.theme_rasters())
Rasters.rplot(stack)
-
+
reset theme
Makie.set_theme!()
@@ -728,7 +728,7 @@ Plotting with Observablecolorrange = Makie.automatic
: The colormap for the heatmap. This can be set to a vector of (low, high)
if plotting a 3D raster or RasterStack.
nan_color = :transparent
: The color which NaN
values should take. Default to transparent.
-
+
Using vanilla Makie¤
diff --git a/dev/scripts/generated/basics/plotting/index.html b/dev/scripts/generated/basics/plotting/index.html
index bcec85d04..b53b3d7db 100644
--- a/dev/scripts/generated/basics/plotting/index.html
+++ b/dev/scripts/generated/basics/plotting/index.html
@@ -684,55 +684,55 @@ Plots, simple
For Makie, plot
functions in a similar way. plot
will only accept two-dimensional rasters. You can invoke contour
, contourf
, heatmap
, surface
or any Makie plotting function which supports surface-like data on a 2D raster.
To obtain tiled plots for 3D rasters and RasterStacks, use the function Rasters.rplot([gridposition], raster; kw_args...)
. This is an unexported function, since we're not sure how the API will change going forward.
@@ -13669,7 +13669,7 @@ Makie, simpleA = Raster(WorldClim{BioClim}, 5)
Makie.plot(A)
-
+
Loading data¤
@@ -13707,49 +13707,49 @@ Loading data
+
Now plot the ocean temperatures around the Americas in the first month of 2001. Notice we are using lat/lon coordinates and date/time instead of regular indices. The time dimension uses DateTime360Day
, so we need to load CFTime.jl to index it with Near
.
using CFTime
A[Ti(Near(DateTime360Day(2001, 01, 17))), Y(-60.0 .. 90.0), X(45.0 .. 190.0)] |> plot
@@ -16711,53 +16711,53 @@ Loading data
Now get the mean over the timespan, then save it to disk, and plot it as a filled contour.
Other plot functions and sliced objects that have only one X
/Y
/Z
dimension fall back to generic DimensionalData.jl plotting, which will still correctly label plot axes.
@@ -17326,349 +17326,349 @@ Plot a contour plot
@@ -17684,52 +17684,52 @@ write to disk
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Polygon masking, mosaic and plot¤
@@ -17830,51 +17830,51 @@ Plotting with Plots
and sweden
sp = plot(sweden)
@@ -18517,45 +18517,45 @@ Plotting with Plots
and norway
np = plot(norway)
@@ -20131,45 +20131,45 @@ Plotting with Plots
The Norway shape includes a lot of islands. Lets crop them out using ..
intervals:
norway_region = climate[X(0..40), Y(55..73)]
@@ -21779,49 +21779,49 @@ Plotting with Plots
And mask it with the border again:
norway = mask_trim(norway_region, norway_border)
@@ -24749,55 +24749,55 @@ Plotting with Plots
Now we can combine the countries into a single raster using mosaic. first will take the first value if/when there is an overlap.