1.2 KiB
1.2 KiB
GF-3 SARscape Go Wrapper
This wrapper embeds assets/gf3_sarscape_cli.sav and calls the local ENVI/IDL Runtime:
idlrt.exe gf3_sarscape_cli.sav -args input_meta_xml out_dir dem_file HH,HV
It is the operational Windows path for SARscape-based GF-3 processing.
Build
From this directory:
$env:GOTELEMETRY = "off"
go build -o ..\..\dist\windows\gf3wrapper.exe .
Run
Single archive:
..\..\dist\windows\gf3wrapper.exe `
-input "D:\GF3\GF3_SCENE.tar.gz" `
-output "E:\GF3\L2_SARscape" `
-dem "D:\DEM\COPDEM_GLO30_China_4326_DEM" `
-pol "HH,HV"
Batch directory:
..\..\dist\windows\gf3wrapper.exe `
-input "D:\GF3\L1A_BATCH" `
-output "E:\GF3\L2_SARscape"
If gf3wrapper.json exists next to the executable, omitted -input, -output, -dem, and -pol values are loaded from that file.
Notes
- The server still needs ENVI, IDL Runtime, and SARscape installed and licensed.
.tar.gzinputs are extracted under each scene output directory in.gf3_extract.- The embedded SAV is extracted to
<output>\.gf3_runtime\gf3_sarscape_cli.sav. - More operational details are in
docs/sarscape_go_wrapper.md.