Skip to content

Latest commit

 

History

History
140 lines (102 loc) · 6.92 KB

CHANGE.md

File metadata and controls

140 lines (102 loc) · 6.92 KB

[version 1.2.12] 2023-04-26

  • Rename function combin_transfer -> perform_transforms
  • Removes unused code module capture_operation.py
  • Tidies Readme [version 1.2.11] 2022-12-23
  • Refactor HarmonyAdapter.process_item to move staging and STAC record generation to separate class method.
  • Refactor HarmonyAdapter.process_zip and HarmonyAdapter.unpack_zipfile to remove redundant variables.
  • Refactor get_files_fromunzipfiles to capture all NetCDF-4 and GeoTIFF extension options, while implementing list comprehensions for increased readability.
  • Attempt to add more type hints and documentation strings, to enable better understanding of the code.

[version 1.2.10] 2022-12-16

  • Migrate calc_subset_envelope_window and box_to_shapefile out of HarmonyAdapter.
  • Increased unit test coverage.

[version 1.2.9] 2022-12-14

  • Update base Docker image to osgeo/gdal:ubuntu-full-3.6.0 (GDAL 3.6.0).
  • Update geospatial Python packages to support GDAL upgrade.

[version 1.2.8] 2022-12-13

  • Implement OpenGDAL context manager for osgeo.gdal.Open.

[version 1.2.7] 2022-12-10

  • Migration of static methods from HarmonyAdapter class to utility modules.
  • Implementation of Python native functions to copy, move and delete files or directories.
  • General linting clean-up.

[version 1.2.6] 2022-11-25

  • Improved detection of NetCDF-4 subdatasets.
  • Update harmony-service-lib-py to 1.0.22.
  • General code linting clean-up.

[version 1.2.5] 2022-08-05

  • Updates harmony-service-lib dependency to 1.0.21, to ensure correct propagation of error messages to Harmony core.
  • Reimplements logging statements removed in HGA v1.2.4.

[version 1.2.4] 2022-08-01

  • Removes logging that is interfering with exception handling.

[version 1.2.3] 2022-07-25

  • Update GDAL to version 3.4.3
  • Remove unused tests and code.

[version 1.2.2] 2022-07-11

  • Update harmony-service-library-py to 1.0.20

[version 1.2.1] 2022-07-11

  • Fix logging command so that correct exception is raised.

[version 1.2.0] 2022-07-08

  • Modify transform.py to raise an exception when the set of requested variables is incompatible. e.g. they have different geocoordinates, geotransforms, x or y dimensions, or different data types.
  • Changes behavior of process_item to raise HGAException when a stac_record is not created. Previously the code quietly logged a warning and succeeded.

[version 1.1.5] 2022-06-13

  • Update transform.py to add a default greyscale colormap to image-type tiff. Fixes a regression introduced in 1.1.4.
  • TIFF files are no longer colored with gdaldem (as of 1.1.4), but a test has been added to make that expectation explicit.

[version 1.1.4] 2022-05-20

  • Change to GDAL subsetter to use colormap URLs found in Harmony message instead of hard coded ones.

[version 1.1.3] 2022-05-09

  • Renames some code variables and functions, there should be no changes to the functionality of the service.

[version 1.1.2] 2022-04-21

  • Updates service library dependencies.
Fiona          1.8.17 => 1.8.21
geopandas       0.9.0 => 0.10.2
rasterio        1.1.5 => 1.2.10
numpy     unsepcified => 1.22.3
  • Removes unused code from tests and bin

[version 1.1.1] 2022-03-23 Input files with .nc4 extensions are now recognised as NetCDF-4 files. An exception is raised for unknown input file formats. Download error messages are propagated more transparently to the end-user in cases of failure.

[version 1.1.0] 2021-12-09 New functionality added for being able to produce PNG output from NetCDF input

[version 1.0.17] 2021-05-05 This is the final version. We will stop the development for a while.

[version 1.0.16] 2021-04-12 This version integrates the regridding functionality. Users can set regridding parameters in the url query for the harmony api. They are outputCrs, scaleSize(xres/yres in output coordinates), scaleExtent(xmin,ymin,xmax,ymax) in output coordinates, and width/height (columnes/rows) of output file. You are not allow to use scaleSize and width/height in the same time.

[version 1.0.15] 2021-04-09 This version extends the collection of datasets that gdal-subsetter can process.The new datasets are: ALOS_PALSAR_Level2.2, ALOS_PALSAR_RTC_HIGH_RES, and ALOS_PALSAR_RTC_LOW_RES.

[version 1.0.14] 2021-03-30 This version improves the geotiff to netcdf conversion code to make the output netcdf file be CF compliant. For a non-rotated image, we define two 1D coordinate variables. For a rotated image, we do not define the coordinate variables. We could define two 2D coordinate variables for the rotated image, but we found that the GIS software does not use the 2D coordinate variables to decide the pixel locations. So we do not output 2D coordinate varaibles in this version for sake of reducing the file size.

[version 1.0.13] 2021-03-16 This version does not define nodata if the original image does not define the nodata. If the geotiff gile doe not define the nodata, the output netcdf file also does not define the nodata. but the default filling_value to be used to fill the data part of the variable before the geotiff data is written to the variable. For geotiff/netcdf without nodata definaition inside, the GIS software should use the mask data which has the same name as the data to correctly display the image.

[version 1.0.12] 2021-03-15 This version is an experimental version. For the original image with byte type data, if it does not define the nodata, the valid data range is 0-255. We map the range of 0-255 to 0-254, and define the nodata value=255. This way the output image get well display in the GIS software.

[version 1.0.11] 2021-03-02 This version imporved the metedata in the output file.

[version 1.0.10] 2021-02-24 This version marks the subset with either filling of nodata value directly to data bands or creating the mask bands which are associated with the data bands. It also implements the reproject/resize with optional input of resampling method from users. The available resampling methods are the same as those defined in the gdal library. They are nearest, bilinear, cubic, cubicspline, lanczos, average, rms, and mode.

[version 1.0.9] 2021-02-10 This version changes the authentication in the version 1.0.8 to new access-token authentication.

[version 1.0.8] 2021-02-03 modify transform.py to adopt to harmoy with STAC-catalog.

[version 1.0.7] 2021-01-15 add the geotiff to netcdf conversion functuionality in the gdal-subsetter. Users may request the harmony to output netcdf file if they provide the parameter &format=application/x-netcdf4 in the request url.

[version 1.0.6] 2020-12-16 updated: addition of the functionality of subsetting with shapefile. The shapefile can be point,line, and polygon feature shapefiles. It can be in three format: geojsion, ESRI shapefile, and KML file.

[version 1.0.5] 2020-12-03 modify the gdal-subsetter code to work with new harmony-service-library-py (2020/11/12), and new harmony ()

[version 1.0.2] updated: improve subset for rotated image. set values as 0 of these pixels outside the user's box.

[version 1.0.1]

[version 1.0.0]