Skip to content

Commit

Permalink
Merge pull request #8 from emit-sds/develop
Browse files Browse the repository at this point in the history
Merge develop into main for v1.2.2
winstonolson authored Jan 25, 2023
2 parents 2cc3336 + a81cce6 commit 4becc1f
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,10 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v1.2.2](https://github.com/emit-sds/emit-utils/compare/v1.2.1...v1.2.2)

> 25 January 2023
- bugfix for east/west long metadata [`a6de126`](https://github.com/emit-sds/emit-utils/commit/a6de12627606c615fc462c60f30fb3a9779b9cb3)
- Update to 1.2.2 [`08ac199`](https://github.com/emit-sds/emit-utils/commit/08ac1993ffd5762234836925094f6a390f41ed87)

#### [v1.2.1](https://github.com/emit-sds/emit-utils/compare/v1.2.0...v1.2.1)

> 12 January 2023
- Merge develop into main for v1.2.1 [`#7`](https://github.com/emit-sds/emit-utils/pull/7)
- add flip tracking to global attributes [`#6`](https://github.com/emit-sds/emit-utils/pull/6)
- add reformatter for netcdf files....ENVI for now [`2cfff04`](https://github.com/emit-sds/emit-utils/commit/2cfff0430d4dbf6352adf5ef5f842137039c7c32)
- account for origin mismatch, add ortho option [`8061050`](https://github.com/emit-sds/emit-utils/commit/8061050edb9d7d3eea632ae09a511824f5e5d8e2)
4 changes: 2 additions & 2 deletions emit_utils/daac_converter.py
Original file line number Diff line number Diff line change
@@ -247,9 +247,9 @@ def makeGlobalAttr(nc_ds: netCDF4.Dataset, primary_envi_file: str, glt_envi_file
# only include spatial information if provided (may not be available for all PGEs)
if glt_envi_file is not None:
ul_lr, res = _get_spatial_extent_res(glt_envi_file)
nc_ds.easternmost_longitude = ul_lr[0]
nc_ds.easternmost_longitude = ul_lr[2]
nc_ds.northernmost_latitude = ul_lr[1]
nc_ds.westernmost_longitude = ul_lr[2]
nc_ds.westernmost_longitude = ul_lr[0]
nc_ds.southernmost_latitude = ul_lr[3]
nc_ds.spatialResolution = res

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
setup(name='emit_utils',
packages=find_packages(),
include_package_data=True,
version='1.2.1',
version='1.2.2',
install_requires=[
'gdal>=2.0',
'spectral>=0.21',

0 comments on commit 4becc1f

Please sign in to comment.