Skip to content

0.2.0

Choose a tag to compare

@konstntokas konstntokas released this 22 Oct 09:35

Changes in 0.2.0

  • Enhanced the function bbox_overlap so that it can handle bounding boxes crossing
    the antimeridian
  • Added new class method GridMapping.regular_from_bbox, which allows creating a
    regular grid mapping directly from a bounding box, spatial resolution, and CRS.
  • Added new function utils.resolution_meters_to_degrees which converts spatial
    resolution from meters to degrees in latitude and longitude at a given geographic
    latitude.
    • 1 degree of latitude ≈ 111,320 meters (constant approximation).
    • 1 degree of longitude ≈ 111,320 * cos(latitude) meters.
  • Bug fix: fixed grid mapping creation for irregular grids with decreasing longitude
    along axis 1.
  • Added xcube_resampling.resample_in_time which allows to resample a dataset along
    the time axis. It supports up- and down-sampling.
  • Renamed the parameter recover_nans to prevent_nan_propagations, which can be
    a boolean or a mapping (from variable name or dtype to boolean) that, when True,
    prevents NaN propagation during upsampling or interpolation.