Skip to content

Commit 853f06e

Browse files
authored
Merge pull request #22 from avalentino/feature/MERIS-IODD8
Adding support for MERIS IODD8
2 parents 7b62f9e + 21e0e92 commit 853f06e

File tree

5 files changed

+215
-11
lines changed

5 files changed

+215
-11
lines changed

src/epr_band.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ EPR_SPtrArray* epr_create_band_ids(EPR_SProductId* product_id) {
7373
strcmp(id, "MER_FR__2P_IODD6") == 0) {
7474
bt_index = i;
7575
}
76+
} else if (product_id->meris_iodd_version == 7) {
77+
if (strcmp(id, "MER_RR__2P_IODD7") == 0 ||
78+
strcmp(id, "MER_FR__2P_IODD7") == 0) {
79+
bt_index = i;
80+
}
7681
} else {
7782
bt_index = i;
7883
}

src/epr_dataset.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ EPR_SPtrArray* epr_create_dataset_ids(EPR_SProductId* product_id)
136136
strcmp(id, "MER_FR__2P_IODD6") == 0) {
137137
pt_index = i;
138138
}
139+
} else if (product_id->meris_iodd_version == 7) {
140+
if (strcmp(id, "MER_RR__2P_IODD7") == 0 ||
141+
strcmp(id, "MER_FR__2P_IODD7") == 0) {
142+
pt_index = i;
143+
}
139144
} else if (asar_sw_version >= 602) {
140145
if (strcmp(&(id[10]), "_602") == 0) {
141146
pt_index = i;

0 commit comments

Comments
 (0)