Hello,
I may have come across a problem with the JSON Output from the InSAR-Overview operator when run from GPT.
I created a short graph consisting of ProductSet-Reader and InSAR-Overview (as described in the online help for InSAR-Overview). When running the graph using gpt:
gpt insar_overview.xml -Pfilelist=S1A_IW_SLC__1SDV_20210404T050204_20210404T050231_037296_0464E1_ECD3.zip,S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF.zip,S1A_IW_SLC__1SDV_20210428T050205_20210428T050232_037646_0470FF_7B48.zip -Pjson_file=test.json
I get the following output in test.json
:
{
"reference" : {
"product_height" : 13689,
"prf" : 1717.128973878037,
"pass" : "DESCENDING",
"product_width" : 73537,
"end_time" : "16-APR-2021 05:02:31.981668",
"product_name" : "S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF",
"mode" : "IW",
"start_time" : "16-APR-2021 05:02:04.998381",
"product_type" : "SLC",
"file" : "S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF.zip",
"orbit_state_vector_file" : "-",
"orbit" : 37471,
"track" : 124
},
"secondary" : [ {
"product_height" : 13689,
"prf" : 1717.128973878037,
"pass" : "DESCENDING",
"product_width" : 73537,
"end_time" : "16-APR-2021 05:02:31.981668",
"product_name" : "S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF",
"mode" : "IW",
"start_time" : "16-APR-2021 05:02:04.998381",
"product_type" : "SLC",
"file" : "S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF.zip",
"orbit_state_vector_file" : "-",
"insar_overview" : {
"doppler_difference_hz" : -3.7713435,
"temporal_baseline_days" : 12.000006,
"coherence" : 0.9509503,
"perpendicular_baseline_m" : -43.053577,
"height_of_ambiguity_m" : 365.81155
},
"orbit" : 37471,
"track" : 124
}, {
"product_height" : 13689,
"prf" : 1717.128973878037,
"pass" : "DESCENDING",
"product_width" : 73537,
"end_time" : "16-APR-2021 05:02:31.981668",
"product_name" : "S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF",
"mode" : "IW",
"start_time" : "16-APR-2021 05:02:04.998381",
"product_type" : "SLC",
"file" : "S1A_IW_SLC__1SDV_20210416T050204_20210416T050231_037471_046AEE_08BF.zip",
"orbit_state_vector_file" : "-",
"insar_overview" : {
"doppler_difference_hz" : -2.3845613,
"temporal_baseline_days" : -12.000004,
"coherence" : 0.93817586,
"perpendicular_baseline_m" : 59.74434,
"height_of_ambiguity_m" : -263.61487
},
"orbit" : 37471,
"track" : 124
} ]
}
The identified reference scene is the same as in the GUI (Stack Overview). The insar_overview
in secondary
also seems to be ok but the product_name
, orbit
etc. are all the same as in reference
.
Also in the example JSON output in the online help article product_name
is the same in secondary
and in reference
.
I am using SNAP Microwave Toolbox 11.0.1.