-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: Split up dependencies with package extensions (#450)
* move everything to extentions * more extensions * add all the extensions * fix imports * only use Aqua on 1.9+ * test fixes * reorganise RDS * fix Requires * update doctests for extensions * we need to test on 1.6 now * fix Requires for old julia versions * test on 1.8 * add makie back * a comma * fix docs * add docs deps * bugfix netcdf * fixes * JET checks * fix cleankeys * dont test stale deps * bugfixes * fix docs type * add all extensions to docs make.jl * add HDF5 to docs deps * add CT dep to docs * windows cant handle it * bugfixes * explicitly load modules in docs * add missing HDF5 ext in docs
- Loading branch information
Showing
46 changed files
with
587 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
[deps] | ||
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" | ||
ArchGDAL = "c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3" | ||
CFTime = "179af706-886a-5703-950a-314cd64e0468" | ||
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | ||
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" | ||
CoordinateTransformations = "150eb455-5306-5404-9cee-2592286d6298" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
GBIF2 = "dedd4f52-e074-43bf-924d-d6bce14ad628" | ||
GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" | ||
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f" | ||
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" | ||
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" | ||
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab" | ||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
RasterDataSources = "3cb90ccd-e1b6-4867-9617-4276c8b2ca36" | ||
Shapefile = "8e980c4a-a4fe-5da2-b3a7-4b4b0353a2f4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
module RastersArchGDALExt | ||
|
||
@static if isdefined(Base, :get_extension) # julia < 1.9 | ||
using Rasters, ArchGDAL | ||
else | ||
using ..Rasters, ..ArchGDAL | ||
end | ||
|
||
import DiskArrays, | ||
Extents, | ||
Missings | ||
|
||
using DimensionalData, | ||
GeoFormatTypes, | ||
GeoInterface | ||
|
||
using Rasters.LookupArrays | ||
using Rasters.Dimensions | ||
using Rasters: GDALsource, AbstractProjected, RasterStackOrArray, FileArray, | ||
RES_KEYWORD, SIZE_KEYWORD, CRS_KEYWORD, EXPERIMENTAL, GDAL_EMPTY_TRANSFORM, | ||
GDAL_TOPLEFT_X, GDAL_WE_RES, GDAL_ROT1, GDAL_TOPLEFT_Y, GDAL_ROT2, GDAL_NS_RES | ||
|
||
import Rasters: reproject, resample, warp | ||
|
||
const RA = Rasters | ||
const DD = DimensionalData | ||
const DA = DiskArrays | ||
const GI = GeoInterface | ||
const LA = LookupArrays | ||
|
||
include("gdal_source.jl") | ||
include("reproject.jl") | ||
include("resample.jl") | ||
include("warp.jl") | ||
|
||
end |
Oops, something went wrong.