Skip to content

Commit

Permalink
Merge breaking changes (#863)
Browse files Browse the repository at this point in the history
* Breaking: Standardise cf standards and missingval handling (#695)

* start adding cf keyword

* add modifieddiskarray file

* use scale and offset keywords

* bugfix

* bugfix

* updates

* create

* tweaks

* bugfixes

* bugfix GRIB

* bugfixes

* add raw keyword

* clean up extensions

* updates

* mosaic fixes and standardisation

* bugfixes

* closured in create

* bugfixes

* fix resample test for nokw

* test create with a function

* Apply suggestions from code review

Co-authored-by: Anshul Singhvi <[email protected]>

* Hook up scale and offset to Zarr datasets via CDM (#732)

This fixes a strange issue I was having where Rasters.jl read the wrong values from a Kerchunk/Zarr dataset.

* use coalesceval instead of maskingval

* combine missingval and maskingval

* one missingval

* fixes

* fix mosaic

* tweaks and bugfixes

* bugfix everything

* fix aqua

* fix netcdf metadata

* docs tweaks

* typo

* bugfix and tweak docs

* fix extension doctests

* fix warp missingval

* bugfix missingval tests

* remove ext

---------

Co-authored-by: Anshul Singhvi <[email protected]>

* Breaking: Faster/better `aggregate` (#763)

* optimise aggregate

* specify DiskArrays.cache

* cleanup

* bugfix

* bugfix

* bugfix

* tets more syntax

* rework the meaning of Colon in aggregation

* bugfix

* comments

* more aggregate tests

* ismem is just the opposite of isdisk

* fix ag test

* fixes for disk

* bugfix

* bugfix gdal tests

* Faster `mosaic` (#839)

* faster mosaic

* bugfix

* remove comment

* tweaks

* cleanup and reorganise

* add missing deps

* Breaking: Line and Polygon `extract` optimisation (#824)

* faster line extract

* performance

* extract in a separate file

* flatten

* bugfixes

* some more comments

* more perf tweaks

* bugfix

* fix extract ambiguities

* more ambiguity

* Bugfix geomtrait

* arg fixes

* add id column

* tests and bugfixes

* bugfix

* set id default to _False()

* fix tests

* bugfix

* bugfix

* half fix ncdatasets mosaic

* working LinerSolver with tests

* fix tests

* bugfix doctests

* bugfix atol

* bugfix create

* bugfix tests

* pad float intervals before view for fp error

* bugfix lazy reorder

* remove a #

* bugfixes

* remove show

* fix example

* fix examples

* fix tests again

* fix ambiguities

* using Dates in examples

* plots dep in examples

* fix docs fp changes

---------

Co-authored-by: Anshul Singhvi <[email protected]>
  • Loading branch information
rafaqz and asinghvi17 authored Jan 21, 2025
1 parent 140b75e commit 8128d41
Show file tree
Hide file tree
Showing 67 changed files with 4,365 additions and 2,001 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ConstructionBase = "1"
CoordinateTransformations = "0.6.2"
DataFrames = "1"
DimensionalData = "0.29.4"
DiskArrays = "0.3, 0.4"
DiskArrays = "0.4"
Extents = "0.1"
FillArrays = "0.12, 0.13, 1"
Flatten = "0.4"
Expand Down
13 changes: 6 additions & 7 deletions ext/RastersArchGDALExt/RastersArchGDALExt.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
module RastersArchGDALExt

@static if isdefined(Base, :get_extension) # julia < 1.9
using Rasters, ArchGDAL
else
using ..Rasters, ..ArchGDAL
end
using Rasters
using ArchGDAL

import DiskArrays,
Extents,
Expand All @@ -16,15 +13,17 @@ using DimensionalData,

using Rasters.Lookups
using Rasters.Dimensions
using Rasters: GDALsource, AbstractProjected, RasterStackOrArray, FileArray, NoKW,
using Rasters: GDALsource, AbstractProjected, AbstractRaster, AbstractRasterStack,
RasterStackOrArray, FileArray, NoKW,
RES_KEYWORD, SIZE_KEYWORD, CRS_KEYWORD, FILENAME_KEYWORD, SUFFIX_KEYWORD, EXPERIMENTAL,
GDAL_EMPTY_TRANSFORM, GDAL_TOPLEFT_X, GDAL_WE_RES, GDAL_ROT1, GDAL_TOPLEFT_Y, GDAL_ROT2, GDAL_NS_RES,
_no_crs_error

import Rasters: reproject, resample, warp, nokw
import Rasters: reproject, resample, warp, cellsize, nokw, isnokw, isnokwornothing

import LinearAlgebra: dot, cross

const AG = ArchGDAL
const RA = Rasters
const AG = ArchGDAL
const DD = DimensionalData
Expand Down
Loading

0 comments on commit 8128d41

Please sign in to comment.