Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into main for v1.2.2 #8

Merged
merged 3 commits into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions emit_utils/daac_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down