Skip to content

Releases: Serapieum-of-alex/pyramids

0.7.1

07 Dec 00:08
58368a7
Compare
Choose a tag to compare

fix the issue in cleopatra version (#104)

  • fix the issue in cleopatra version

  • update miniconda workflow action

  • activate use mamba

  • update notebooks

  • update dependencies

  • reduce loguru version to match pypi and conda-forge

  • update the name attribute in the ogr.DataSource

  • update gdal in the workflow

  • add libgdal-netcdf, libgdal-hdf4 to the conda dependencies

  • update notebook

  • ogr.Open now returns a Dataset not DataSource

  • update check list files

  • update gdal in readthedocs

0.7.0

12 Jul 12:20
1dd2e24
Compare
Choose a tag to compare

Dataset/Add-Documentation (#92)

  • reformat files

  • test notebooks

  • update hooks

  • update update dataset notebook

  • add nbval to test notebooks

  • remove conda configs from pypi workflow

  • test notebooks as part of conda workflow

  • activate shell

  • update notebooks

  • update workflow

  • add python to run the test

  • activate environment

  • remove the setup python to use only the conda env

  • remove the separate setup python and add install the package itself

  • ignore one of the cells

  • ignore one of the cells

  • add doc string to set_attribute_table, get_Attribute_table, create methods

  • add example to add_band

  • test add_band inplace while in read_only access

  • correct indentation errors in dataset.rst file

  • test trying to add id array as a band

  • test trying to add different dimension array ad a new band

  • fix error in correct_wrap_cutline_error with multi-band datasets

  • remove the _crop_with_polygon_by_rasterizing method

  • remove the type from the abstract_Dataset.create_from_array

  • if the mask dataset has multiple bands, use the first band as a mask

  • rename tests

  • add documentations to the crop method

  • add hint on the multi-band mask dataset

  • remove the rows and columns if they are all full of no_data_value when cropping with a dataset

  • test cropping dataset using a multi-band dataset

  • add docstring to the stats method

  • add docstring to create_from_array and add cell_size and top_left_corner parameter

  • test the geo/top_left_corner cases of the create_from_array method

  • update docstrings

  • add examples to the read_array method

  • rename pivot_point to top_left_corner

  • clean un-needed commented code

  • add examples to get_block_arrangement

  • fix returned dtype from from the dtypes

  • remove the id as it differs in linux

  • ad docstring for plot

  • add example to dataset_like

  • the dataset_like method returns the dataset object even if the path is given

  • test dataset_like for multi-band

  • correct typos and docstring

  • update the new name for thepivot_point to top_left_corner

  • flush data to disk in the _create_gtiff_from_array if path is given

  • rename the pivot_point parameter in the write_array method to top_left_corner

  • use the coello geotiff file in set_crs test

  • test the epsg property

  • add docstring

  • fix docstring for write_array

  • add examples and modify docstring

  • the to_file method initialize the dataset to refer to the saved dataset on disk

  • use neighbor instead of neighbour

  • use neighbor instead of neighbour

  • add examples for to_crs

  • add examples to footprint

  • fix docstring for the block_size

  • fix typo in comments

  • fix docstring for the apply

  • fix docstring for the apply

  • add example for the align method

  • flush data at the end of the to_file method

  • the _window function iterate over rows instead of columns

  • add examples for the to_feature_collection method

  • reformat

  • test _nearest_neighbour

  • rerun notebook

  • reformat

  • add pictures for docs

  • add pictures for docs

  • add doctest result files to gitignore

  • add examples for thr get_tiles method

  • remove pyramids from the docs/environment.yml to correctly install the package from the repo

  • add geopandas to doc/environment.yml

  • install pyramids in the .readthedocs.py file

  • add gdal to docs dependencies

  • install numpy as part of the docs/environment.yml

  • install the package itself using conda

  • install the package itself using conda

  • update dependencies

  • update dependencies

  • add test for cluster method

  • add example for cluster

  • add image to the get_tile example

  • correct the example of the footprint method

  • reformat

  • add example to cluster2

  • correct versions

  • fix missing indentation issue in docstring

  • add examples to all methods related to the overviews

  • update notebooks

  • add examples for the get_histogram method

  • clean file

  • fix error in the color_table property

  • mark the color_table test as plot test

  • add example to color_table

  • add hook to check doctest

  • add examples to the band_color, and get_band_by_color

  • all the create methods assign the access property properly.

  • add xml code block in all docstring

  • add examples to add_band and create methods

  • reformat

  • change the path to the image in the docstring

  • change the path to the image

  • change all images paths

  • fix errors in the docstring

  • crop images and fix docstring

  • fix docstring

  • fix docstring

  • fix docstring

  • fix docstring

  • add examples to map_to_array_coordinates

  • convert the array_to_map_coordinates to normal method

  • add examples to the bbox and the bounds properties

  • rename the top_left_coords to top_left_corner

  • add inplace parameter to the method change_no_data_value

  • test inplace=False

  • put a warning in the change_no_data_value method

  • correct the warning statment

  • re indent the image in cluster method

  • add graphviz as a system package in the readthedocs file

  • add graphviz as a system package in the readthedocs file

  • update readthedoc config file

  • correct the graphviz setting in the readthedoc file

  • correct docstring issues

  • remvove the sphinxcontrib-graphviz from doc dependencies

  • add graphviz as a normal package

  • add type hints

  • correct docstring issues

  • fix docsting issues

  • correct the warning directive

  • change the warning clause.

  • add examples for the color_table

  • add close method and add examples to the copy dataset

  • fix docstring issues

  • correct docstring in read_array

  • add band parameter to the extract method

  • add band parameter to the extract method

  • test close method

  • fix docstring

  • add examples for the overlay method

  • remove driver from the fill method

  • add images to the resample method

  • fix docstring

  • add inplace to the fill method

  • add examples to get_cell_points, get_cell_coords, and get_cell_polygons

  • add examples to lat, lon, x, and y

  • add images to the docstring

  • crop images

  • add see also section in the docstring

  • fix the xml code block

  • fix indentation

  • add south america notebook

  • add missing south-america-mswep_1979010100.tif.aux.xml missing file

  • update history file

  • fix docstring

  • fix docstring

  • update history file

  • update version to 0.7.0

  • update history fille

0.6.0

19 Feb 20:02
585d339
Compare
Choose a tag to compare

Separate dem package (#84)

  • move the dem module to a separate package and repo digital-rivers[Link]

0.5.6

09 Jan 20:20
e5a953d
Compare
Choose a tag to compare

dataset/dataset/create-overviews (#77)

  • create create_overviews, recreate_overview, read_overview_array methods, and overview_count attribute to
    handle overviews.
  • The plot method takes an extra parameters overviews and overview_index to enable plotting overviews instead
    of the real values in the bands.

0.5.5

04 Jan 01:01
da9cac3
Compare
Choose a tag to compare

dataset/dataset/domain-cells-for-different-bands (#76)

  • count domain cells now takes band parameter

  • clean

  • correct the no_data_value for each band

  • add docs

  • update history

  • update checklist files

0.5.4

31 Dec 04:17
b540ab2
Compare
Choose a tag to compare

dataset/crop/bugfix/up-updated-extent-for-cropped-raster (#75)

  • add exception in the stats method to bridge error in the GetStatistics method

  • remove the bug test

  • correct the gdal error when cutline is false in gdal.wrap

  • test str and repr

0.5.3

28 Dec 21:13
d645dd6
Compare
Choose a tag to compare

dataset/crop/feature/crop-all-within-polygon (#71)

  • add touch parameter to the crop method

  • correct typo in the 'nearest neibour'

  • add inplace parameter to the crop method

  • add inplace parameter to the crop method

  • correct typos

  • add mask parameter to the stats method

  • refactor files

  • update check list files

0.5.2

27 Dec 19:48
4725d7b
Compare
Choose a tag to compare

Band statistics (#60)

  • rename datacube object to cube in all tests

  • add iloc method to dataset class

  • free the version number for gdal in ci

  • create stats method

  • fix typos

  • correct typo

  • add docs to stats method

  • add stats and _iloc to the graph

  • correct typo

  • update checklist files

0.5.1

27 Nov 21:00
6e765b5
Compare
Choose a tag to compare

fix Dataset/convert_longitude/fix unsuported in wrap new versions (#59)

  • revert the convert_longitude method to not use the gdal_wrap method

  • update gdal

  • bump up versions

  • delete qodana files

  • limit dependapot to 5 pull requests only

0.5.0

01 Oct 21:35
9eadbfc
Compare
Choose a tag to compare

Dataset

  • The dtype attribure is not initialized in the init, but initialized when using the dtype property.
  • Create band_names setter method.
  • add gdal_dtype, numpy_dtype, and dtype arrtibute to change between the dtype (data type general name), and the coresponding data type in numpy and gdal.
  • Create color_table attribure, getter & setter property to set a symbology (assign color to different values in each band).
  • The read_array method returns array with the same type as the dtype of the first band in the raster.
  • add a setter method to the band_names property.
  • The methods (create_driver_from_scratch, get_band_names) is converted to private method.
  • The no_data_value check the dtype before setting any value.
  • The convert_longitude used the gdal.Wrap method instead of making the calculation step by step.
  • The to_polygon is converted to _band_to_polygon private method used in the clusters method.
  • The to_geodataframe is converted to to_feature_collection. change the backend of the function to use the crop function is a vector mask is given.
  • the to_crs takes an extra parameter "inplace".
  • The locate_points is converted to map_to_array_coordinates.
  • Create array_to_map_coordinates to translate the array indices into real map coordinates.

DataCube

  • rename the read_separate_files to read_multiple_files, and enable it to use regex strigs to filter files in a given directory.
  • rename read_dataset to open_datacube.
  • rename the data attribute to values

FeatureCollection

  • Add a pivot_point attribure to return the top left corner/first coordinates of the polygon.
  • Add a layers_count property to return the number of layers in the file.
  • Add a layer_names property to return the layers names.
  • Add a column property to return column names.
  • Add the file_name property to store the file name.
  • Add the dtypes property to retrieve the data types of the columns in the file.
  • Rename bounds to total_bounds.
  • The _gdf_to_ds can convert the GeoDataFrame to a ogr.DataSource and to a gdal.Dataset.
  • The create_point method returns a shapely point object or a GeoDataFrame if an epsg number is given.