mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Retune N19
This commit is contained in:
parent
ab3be1d773
commit
8a370906c1
6 changed files with 24 additions and 4 deletions
|
|
@ -223,7 +223,11 @@ namespace noaa
|
|||
mhs_products.set_tle(satellite_tle);
|
||||
mhs_products.timestamp_type = satdump::ImageProducts::TIMESTAMP_LINE;
|
||||
mhs_products.set_timestamps(mhs_reader.timestamps);
|
||||
mhs_products.set_proj_cfg(loadJsonFile(resources::getResourcePath("projections_settings/noaa_mhs.json")));
|
||||
|
||||
if (scid == 13) // NOAA-18
|
||||
mhs_products.set_proj_cfg(loadJsonFile(resources::getResourcePath("projections_settings/noaa_18_mhs.json")));
|
||||
if (scid == 15) // NOAA-19
|
||||
mhs_products.set_proj_cfg(loadJsonFile(resources::getResourcePath("projections_settings/noaa_19_mhs.json")));
|
||||
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"type": "normal_single_line",
|
||||
"scan_angle": 110.6,
|
||||
"roll_offset": -0.01,
|
||||
"yaw_offset": -3.45,
|
||||
"yaw_offset": 2.8,
|
||||
"pitch_offset": 0,
|
||||
"timestamp_offset": -1,
|
||||
"image_width": 2048,
|
||||
|
|
|
|||
16
resources/projections_settings/noaa_19_mhs.json
Normal file
16
resources/projections_settings/noaa_19_mhs.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "normal_single_line",
|
||||
"scan_angle": 100,
|
||||
"roll_offset": -1,
|
||||
"yaw_offset": 2.8,
|
||||
"timestamp_offset": -11,
|
||||
"image_width": 90,
|
||||
"gcp_spacing_x": 10,
|
||||
"gcp_spacing_y": 10,
|
||||
///////////////////////
|
||||
"timefilter": {
|
||||
"type": "simple",
|
||||
"scan_time": 2.33,
|
||||
"max_diff": 10.0
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"type": "normal_single_line",
|
||||
"scan_angle": 98,
|
||||
"timestamp_offset": 0,
|
||||
"timestamp_offset": -10,
|
||||
"image_width": 30,
|
||||
"gcp_spacing_x": 2,
|
||||
"gcp_spacing_y": 2,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ int main(int /*argc*/, char *argv[])
|
|||
logger->trace("\n" + img_pro.contents.dump(4));
|
||||
|
||||
satdump::ImageCompositeCfg rgb_cfg;
|
||||
rgb_cfg.equation = "ch4,ch4,ch4"; //"(ch3 * 0.4 + ch2 * 0.6) * 2.2 - 0.15, ch2 * 2.2 - 0.15, ch1 * 2.2 - 0.15";
|
||||
rgb_cfg.equation = "ch1,ch1,ch1"; //"(ch3 * 0.4 + ch2 * 0.6) * 2.2 - 0.15, ch2 * 2.2 - 0.15, ch1 * 2.2 - 0.15";
|
||||
rgb_cfg.equalize = true;
|
||||
rgb_cfg.white_balance = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue