Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into cf #822

Closed
wants to merge 27 commits into from
Closed

Merge main into cf #822

wants to merge 27 commits into from

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    6228a9e View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Performance improvement by eliminating map before any or all (#762

    )
    
    * no `map` before `any` or `all`
    
    * get rid of more maps
    
    * revert a change in utils
    
    * revert some more changes
    
    * Revert "get rid of more maps"
    
    This reverts commit 429da5b.
    tiemvanderdeure authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    d223641 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Update README.md

    rafaqz authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    544c3c5 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    rafaqz authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    08a23cf View commit details
    Browse the repository at this point in the history
  3. Update README.md

    rafaqz authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    91e4710 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    rafaqz authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    7bc3341 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Update README.md

    rafaqz authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    8d13c18 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. export Extents.extent (#758)

    * Update Rasters.jl
    
    export Extents.extent
    
    * Update src/Rasters.jl
    
    * Update src/Rasters.jl
    
    ---------
    
    Co-authored-by: Rafael Schouten <[email protected]>
    alex-s-gardner and rafaqz authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0a731d7 View commit details
    Browse the repository at this point in the history
  2. Remove discretesurface dispatch (#777)

    to fix the load error
    asinghvi17 authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    362178f View commit details
    Browse the repository at this point in the history
  3. Print a styled backend error message so it's more eye-catching (#776)

    * Print a styled error message so it's more eye-catching
    
    * Mention that packages need to be loaded *manually*
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    ---------
    
    Co-authored-by: Rafael Schouten <[email protected]>
    asinghvi17 and rafaqz authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7f67764 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. add continue_patch changes more cleanly: fixes Makie for new DD (#780)

    * add continue_patch commits here
    
    * fix refdims values in testts
    
    * fix Vararg warnings
    
    * bugfix concat
    
    * fix concat with parent
    
    * min bound DD at 0.28.2
    
    * compare parents in reproject
    
    * fix comparison
    
    * bugfix comparisons
    
    * bugfix tests
    
    * fix allocs?
    
    * fix allocs
    
    * run code once before testing allocations
    
    * allow more allocations for 1.11
    rafaqz authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    04e9f45 View commit details
    Browse the repository at this point in the history
  2. improve cellsize and switch from Archgdal to Proj (#768)

    * optimize cellsize for lon-lat projections
    
    * never reverse order of intervalbounds
    
    * add a test with a reverse order dimension
    
    * use approx so tests pass
    
    * combine two broadcasts
    
    * change cellsize to cellarea and default to m2
    
    * fix a test
    
    * use mapped dims if those are lon-lat
    
    * fix typo in test
    
    * remove some code scribbles
    
    * radius not R
    
    * better check if a crs is lon-lat
    
    * even better check if projection is lon-lat
    
    * define AG = ArchGDAL in main file
    
    * use sind and cosd instead of deg2rad
    
    * use isintervals(dims)
    
    * consistently use AG instead of ArchGDAL
    
    * add area_in_crs keyword
    
    * make the example easier to read
    
    * use Eriksson's formula instead of Girard's theorem
    
    * test on a 5x5m grid
    
    * get rid of accidental line in test
    
    * put back order = :trad
    
    * optimizations
    
    * depend on GeometryOpsCore, reexport common manifolds
    
    * Refactor the toplevel `cellarea` to take a method as the first arg
    
    * Remove kwargs from cellarea
    
    * Fix dispatch and propagate kwargs
    
    * Update Project.toml
    
    * fix typo
    
    * Update extensions.jl
    
    * Update Rasters.jl
    
    * fix tests
    
    * Switch `reproject` to use Proj instead of ArchGDAL
    
    This commit creates a new `reproject` method that uses Proj to transform an array of values in place using `proj_trans_generic`, only allocating a Float64 output array.  It also performs the reproject check before actually transforming the array.
    
    This decreases runtime on my machine from 4.168 ms (ArchGDAL) to 665.187 μs (Proj), and allocations from 35167 allocs: 1.254 MiB (ArchGDAL) to 108 allocs: 42.859 KiB (Proj).
    
    * Fix invocations to ArchGDAL GFT converts in tests
    
    * Add `+type=crs` to all Proj-strings
    
    This is a weakness of this method compared to the old ArchGDAL method.  Does this need a fix in Proj?
    
    * Implement cellarea in Proj
    
    * Add Proj to test project
    
    * Switch cellarea tests to Proj
    
    * Bump Proj compat to 1.7.2 to get the WKT support
    
    * remove cellarea and reproject.jl from archgdal extension
    
    * throw extension error with reproject
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    ---------
    
    Co-authored-by: Anshul Singhvi <[email protected]>
    Co-authored-by: Rafael Schouten <[email protected]>
    3 people authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    1f8d0e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. add missing versions for extras extensions (#788)

    * add missing deps
    
    * typeo
    rafaqz authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    0b7f7c0 View commit details
    Browse the repository at this point in the history
  2. add a constructor to load future worldclim as a rasterstack (#783)

    * add a constructor to load future worldclim as a rasterstack
    
    * pass keywords to raster and use bioclim keys
    
    * add a raster constructor for future bioclim
    
    * add some tests
    
    * bump rasterdatasources compat
    
    * tests need proj
    
    * use RDS 0.7
    
    * fix a broken test
    
    ---------
    
    Co-authored-by: Rafael Schouten <[email protected]>
    tiemvanderdeure and rafaqz authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    36d6fc6 View commit details
    Browse the repository at this point in the history
  3. bump patch version to 0.12.0

    rafaqz authored Oct 10, 2024
    2 Configuration menu
    Copy the full SHA
    e350b3f View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Fix missinval typo (#793)

    * Update utils.jl
    
    * Update ncdatasets_source.jl
    maxfreu authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3489062 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5ec851 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Configuration menu
    Copy the full SHA
    c67ac1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b677b05 View commit details
    Browse the repository at this point in the history
  3. do not unnecessarily return a union in extract (#790)

    * extract tweaks
    
    * just write kw... in docs
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * use Type{G}
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * add a missing where G
    
    * merge _rowtype changes from other branch
    
    * optimization for extract points with skipmissing
    
    ---------
    
    Co-authored-by: Rafael Schouten <[email protected]>
    tiemvanderdeure and rafaqz authored Oct 12, 2024
    Configuration menu
    Copy the full SHA
    8cf4942 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Make extracting grid_mapping from CDM datasets safer (#803)

    * Update commondatamodel.jl
    
    * Add test
    
    * move resample tests to be last
    
    * Include commondatamodel and zarr tests
    
    * use Zarr from ZarrDatasets.jl
    
    * Don't run Zarr tests
    
    * Add the julia cache action to speed up CI
    asinghvi17 authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3202707 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Add Rasters.sample (#791)

    * extract tweaks
    
    * add rasters.sample
    
    * get rid of some toy code
    
    * just write kw... in docs
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * use Type{G}
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * add a missing where G
    
    * neater formatting
    
    * better reuse _rowtypes code
    
    * more code style
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * extract tweaks
    
    * add rasters.sample
    
    * get rid of some toy code
    
    * neater formatting
    
    * better reuse _rowtypes code
    
    * more code style
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * merge _rowtype changes from other branch
    
    * optimization for extract points with skipmissing
    
    * streamline _rowtype
    
    * correctly use _rowtype
    
    * improve type stability
    
    * switch to using dimindices internally
    
    * let users specify geometry type
    
    * just use a broadcast
    
    * don't need to be compatible with julia < 1.9
    
    Co-authored-by: Rafael Schouten <[email protected]>
    
    * deal with type stability better
    
    * allow not providing `n`
    
    * tweak the docstring
    
    ---------
    
    Co-authored-by: Rafael Schouten <[email protected]>
    tiemvanderdeure and rafaqz authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1f00143 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. bugfix to _without_mapped_crs (#810)

    * bugfix
    
    * add tests
    tiemvanderdeure authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    fc27e99 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Update issue templates

    rafaqz authored Nov 2, 2024
    Configuration menu
    Copy the full SHA
    93bf8ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58a3a57 View commit details
    Browse the repository at this point in the history
  3. Update issue templates

    rafaqz authored Nov 2, 2024
    Configuration menu
    Copy the full SHA
    251bbbd View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Configuration menu
    Copy the full SHA
    74fdbf4 View commit details
    Browse the repository at this point in the history