Skip to content

Releases: xcube-dev/xcube-resampling

0.3.5

Choose a tag to compare

@konstntokas konstntokas released this 15 Jul 06:39

Changes in 0.3.5

  • Fixed a bug in rectify_dataset where the conversion from block-space indices to
    global-space indices was incorrect when output_indices_names was provided.

0.3.4

Choose a tag to compare

@konstntokas konstntokas released this 20 May 12:22

Changes in 0.3.4

  • Added utils.transform_resolution to convert spatial resolution between coordinate
    reference systems (CRS).

Full Changelog: v0.3.3...v0.3.4

0.3.3

Choose a tag to compare

@konstntokas konstntokas released this 18 May 07:10
b1ce618

Changes in 0.3.3

  • Added function utils.resolution_degrees_to_meters to convert spatial resolution
    from degrees to meters at a given geographic latitude.

Full Changelog: v0.3.2...v0.3.3

0.3.2

Choose a tag to compare

@konstntokas konstntokas released this 17 Mar 14:14

Changes in 0.3.2

  • Change inconsistent license classifier in pyproject.toml
  • Removed the dependency on zarr. As part of this change,
    xcube_resampling.grid_mapping.cfconv.add_spatial_ref has been removed, as it
    only loosely fit the scope of the xcube-resampling repository.
  • Added xcube_resampling.utils.get_utm_crs to return the UTM CRS for a given
    longitude and latitude pair.
  • In xcube_resampling.reproject_dataset, the dataset is now clipped when the target
    grid-mapping covers less than 80% of the source grid-mapping, improving performance
    for reprojected cutouts.
  • In xcube_resampling.affine_transform_dataset, resampling is now performed per
    spatial slice, ensuring that interpolation is applied only along the spatial axes
    and no longer across non-spatial dimensions (e.g., time).
  • When prevent_nan_propagation=True, computation is now fully lazy. Previously, the
    implementation checked for NaN values in the source array, which triggered loading
    of the entire dataset into memory.
  • Enhanced GridMapping API documentation.

Full Changelog: v0.3.1...v0.3.2

0.3.1

Choose a tag to compare

@konstntokas konstntokas released this 25 Feb 13:11
8344881

Changes in 0.3.1

  • Fixed a bug in xcube_resampling.rectify_dataset that occurred when processing
    datasets with decreasing x-coordinates.
  • Boolean (bool) data arrays now default to nearest-neighbor interpolation.
    For spatial aggregation, values are centered, and 0 is used as the default fill
    value—matching the behavior of integer arrays to ensure consistent and valid results.

Full Changelog: v0.3.0...v0.3.1

0.3.0

Choose a tag to compare

@konstntokas konstntokas released this 20 Feb 08:19

What's Changed

  • Fixed an issue when retrieving coordinate names from regular grid mappings.
  • Improved documentation for the frequency and tolerance arguments of
    xcube_resampling.resample_in_time.
  • Fixed incorrect time coverage metadata in dataset attributes after calling
    xcube_resampling.resample_in_time.
  • xcube_resampling.rectify_dataset is now fully lazy and scalable.
  • Removed methods test_ij_bbox_from_xy_bbox and test_ij_bboxes_from_xy_bboxes from
    xcube_resampling.gridmapping.GridMapping. These methods were only used by
    xcube_resampling.rectify_dataset; their updated implementations now live in
    xcube_resampling.rectify._compute_source_tile_indexing.
  • Added support for rectifying datasets with decreasing x-coordinate in
    xcube_resampling.rectify_dataset.

Full Changelog: v0.2.4...v0.3.0

0.2.4

Choose a tag to compare

@konstntokas konstntokas released this 26 Jan 11:33

Changes in 0.2.4

  • Improved performance when creating GridMapping from 2D coordinates.
    Parameter estimation now uses only corner points instead of the full set of
    coordinates, significantly reducing runtime for large datasets.
  • Bug fix in affine transformations.
    Fixed a half-pixel shift that occurred in xcube_resampling.affine_transform_dataset
    and xcube_resampling.resample_in_space when the source and target grid mappings
    shared the same CRS and were regular.

Full Changelog: v0.2.3...v0.2.4

0.2.3

Choose a tag to compare

@konstntokas konstntokas released this 15 Dec 11:31

Changes in 0.2.3

  • In xcube_resampling.resample_in_time, the method suffix in the output data variable
    names is now added only when the agg_methods or interp_methods parameters are
    provided as mappings, or when multiple resampling methods are applied to the data
    variable.

Full Changelog: v0.2.2...v0.2.3

0.2.2

Choose a tag to compare

@konstntokas konstntokas released this 24 Nov 11:48
0c8c8cc

Changes in 0.2.2

  • Added support for spatial rectification of datasets in
    xcube_resampling.rectify_dataset even when spatial coordinates are not stored in
    the dataset’s coordinate variables

Full Changelog: v0.2.1...v0.2.2

0.2.1

Choose a tag to compare

@konstntokas konstntokas released this 21 Nov 13:46
4440333

Changes in 0.2.1

  • Added the output_indices_names parameter to xcube_resampling.rectify_dataset to
    allow storing the source pixel indices.

Full Changelog: v0.2.0...v0.2.1