Skip to content

Commit

Permalink
NBAR Version Information will be provided at runtime
Browse files Browse the repository at this point in the history
Along with extra software version information.
  • Loading branch information
omad committed May 30, 2016
1 parent 670dc79 commit 1062c02
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions eodatasets/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,12 +617,6 @@ def fill_metadata(self, dataset, path, additional_files=()):

self._fill_algorithm_information(dataset, nbar_metadata['algorithm_information'])

if not dataset.lineage.machine:
dataset.lineage.machine = ptype.MachineMetadata()

nbar_version = nbar_metadata['algorithm_information']['software_version']
dataset.lineage.machine.note_software_version('nbar', str(nbar_version))

dataset.product_doi = nbar_metadata['algorithm_information']['arg25_doi']

# Extract ancillary file data and values
Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_ls8_nbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ def test_package():
},
'machine': {
'software_versions': {
'nbar': '4.0'
}
},
'ancillary': {
Expand Down
1 change: 0 additions & 1 deletion tests/test_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
lineage=ptype.LineageMetadata(
source_datasets={'level1': test_ls8.EXPECTED_OUT},
algorithm=ptype.AlgorithmMetadata(name='terrain', version='1.0'),
machine=ptype.MachineMetadata(software_versions={'nbar': '1.0'}),
),
grid_spatial=ptype.GridSpatialMetadata(
projection=ptype.ProjectionMetadata(
Expand Down

0 comments on commit 1062c02

Please sign in to comment.