Skip to content

Commit 4e88cea

Browse files
authored
Merge pull request #1515 from Caltech-IPAC/IRSA-5732-wise-yr10-update
IRSA-5732 UI update for WISE year10 data release
2 parents 9342aca + cd50261 commit 4e88cea

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

src/firefly/java/edu/caltech/ipac/astro/ibe/datasource/WiseIbeDataSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ private String processConstraints(Map<String, String> queryInfo) {
413413
}
414414

415415
if (mergeImageSet.contains(DataProduct.NEOWISER_1B.dataset)) {
416-
if (n>0) imageSetConstraint += ",6,7,8,9,10,11,12,13,14";
417-
else imageSetConstraint += ",6,7,8,9,10,11,12,13,14";
416+
if (n>0) imageSetConstraint += ",6,7,8,9,10,11,12,13,14,15";
417+
else imageSetConstraint += ",6,7,8,9,10,11,12,13,14,15";
418418
n++;
419419
}
420420

src/firefly/java/edu/caltech/ipac/firefly/data/WiseRequest.java

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public class WiseRequest extends TableServerRequest {
7373
public final static String NEOWISER_YR6 = "neowiser_yr6";
7474
public final static String NEOWISER_YR7 = "neowiser_yr7";
7575
public final static String NEOWISER_YR8 = "neowiser_yr8";
76-
public final static String NEOWISER_YR9 = "neowiser_yr9"; //yr9 neowiser going public
77-
public final static String NEOWISER_YR10 = "neowiser_yr10";
76+
public final static String NEOWISER_YR9 = "neowiser_yr9";
77+
public final static String NEOWISER_YR10 = "neowiser_yr10"; //yr10 going public Mar.2024
78+
public final static String NEOWISER_YR11 = "neowiser_yr11"; //yr11 ongoing ingestion
7879
public final static String PASS2_4BAND = "pass2-4band";
7980
public final static String PASS2_3BAND = "pass2-3band";
8081
public final static String PASS2_2BAND = "pass2-2band";
@@ -101,9 +102,9 @@ public class WiseRequest extends TableServerRequest {
101102
put(NEOWISER_YR6,"neowiser_p1bs_psd");
102103
put(NEOWISER_YR7,"neowiser_p1bs_psd");
103104
put(NEOWISER_YR8,"neowiser_p1bs_psd");
104-
put(NEOWISER_YR9,"neowiser_p1bs_psd"); //yr9 neowiser going public
105-
put(NEOWISER_YR10,"neowiser_i1bs_psd"); //yr10 internal ongoing ingestion
106-
105+
put(NEOWISER_YR9,"neowiser_p1bs_psd");
106+
put(NEOWISER_YR10,"neowiser_p1bs_psd"); //yr10 going public Mar. 2024
107+
put(NEOWISER_YR11,"neowiser_i1bs_psd"); //yr1 internal ongoing ingestion
107108
}
108109
};
109110
private final static Map<String,String> IMAGE_SET_DESC = new HashMap<String,String>(){
@@ -190,10 +191,10 @@ public class WiseRequest extends TableServerRequest {
190191
put(NEOWISER_YR4 +"|1b", new String[]{"yr4_p1bm_frm", "yr4_p1bs_psd"});
191192
put(NEOWISER_YR5 +"|1b", new String[]{"yr5_p1bm_frm", "yr5_p1bs_psd"});
192193
put(NEOWISER_YR6 +"|1b", new String[]{"yr6_p1bm_frm", "yr6_p1bs_psd"});
193-
put(NEOWISER_YR7 +"|1b", new String[]{"yr7_p1bm_frm", "yr7_p1bs_psd"}); // yr7 goes public March 2021
194-
put(NEOWISER_YR8 +"|1b", new String[]{"yr8_i1bm_frm", "yr8_i1bs_psd"}); // yr8 internal for iwise
195-
put(NEOWISER_YR9 +"|1b", new String[]{"yr9_i1bm_frm", "yr9_i1bs_psd"}); // yr9 internal for iwise
196-
put(NEOWISER_YR10 +"|1b", new String[]{"yr10_i1bm_frm", "yr10_i1bs_psd"}); // yr10 internal for iwise
194+
put(NEOWISER_YR7 +"|1b", new String[]{"yr7_p1bm_frm", "yr7_p1bs_psd"});
195+
put(NEOWISER_YR8 +"|1b", new String[]{"yr8_p1bm_frm", "yr8_p1bs_psd"});
196+
put(NEOWISER_YR9 +"|1b", new String[]{"yr9_p1bm_frm", "yr9_p1bs_psd"});
197+
put(NEOWISER_YR10 +"|1b", new String[]{"yr10_p1bm_frm", "yr10_p1bs_psd"}); // yr10 going public Mar. 2024
197198
put(MERGE_INT+"|1b", new String[]{"merge_i1bm_frm", "merge_i1bs_psd"});
198199
put(MERGE_INT+"|3a", new String[]{"merge_p3am_cdd", "merge_p3as_psd"});
199200
put(PASS2_4BAND+"|1b", new String[]{"4band_i1bm_frm", "4band_i1bs_psd"});
@@ -233,8 +234,8 @@ public class WiseRequest extends TableServerRequest {
233234
put(NEOWISER_YR7, new Integer[]{12254, 23446}); // 12254r is the first scan for yr7, 23446r is the last scan
234235
put(NEOWISER_YR8, new Integer[]{23447, 34601}); // 23447r is the first scan for yr8, 34601r is the last scan
235236
put(NEOWISER_YR9, new Integer[]{34601, 45803}); // 34601s is the first scan for yr9, 45803r is the last scan
236-
put(NEOWISER_YR10, new Integer[]{45804, 99999}); // 45804r is the first scan for yr10
237-
237+
put(NEOWISER_YR10, new Integer[]{45804, 57041}); // 45804r is the first scan for yr10, 57041r is the last scan
238+
put(NEOWISER_YR11, new Integer[]{57042, 99999}); // 57042r is the first scan for yr11
238239
}
239240
};
240241

src/firefly/java/edu/caltech/ipac/firefly/server/query/wise/QueryWise.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ private String processConstraints(WiseRequest req) throws EndUserException {
393393
else imageSetConstraint += "2";
394394
n++;
395395
}
396-
if (imageSets.contains(WiseRequest.NEOWISER_YR1)) {
396+
// commented out the internal wise image set (iwise gwt version)
397+
/*if (imageSets.contains(WiseRequest.NEOWISER_YR1)) {
397398
if (n>0) imageSetConstraint += ",6";
398399
else imageSetConstraint += "6";
399400
n++;
@@ -437,11 +438,11 @@ private String processConstraints(WiseRequest req) throws EndUserException {
437438
if (n>0) imageSetConstraint += ",14";
438439
else imageSetConstraint += "14";
439440
n++;
440-
}
441+
}*/
441442

442-
if (imageSets.contains(WiseRequest.NEOWISER)) { // public merge upto yr9
443-
if (n > 0) imageSetConstraint += ",6,7,8,9,10,11,12,13,14";
444-
else imageSetConstraint += "6,7,8,9,10,11,12,13,14";
443+
if (imageSets.contains(WiseRequest.NEOWISER)) { // public merge upto yr10
444+
if (n > 0) imageSetConstraint += ",6,7,8,9,10,11,12,13,14,15";
445+
else imageSetConstraint += "6,7,8,9,10,11,12,13,14,15";
445446
n++;
446447
}
447448

0 commit comments

Comments
 (0)