aux
This commit is contained in:
10
cmd/parse.go
10
cmd/parse.go
@@ -3,6 +3,7 @@ package cmd
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
"starwiz.cn/sjy01/preprocessing/extract"
|
||||
)
|
||||
@@ -20,11 +21,14 @@ var parseCmd = &cobra.Command{
|
||||
DataId: "051513",
|
||||
Satellite: "SJY01",
|
||||
}
|
||||
p := extract.NewExtractor(¶ms)
|
||||
e := extract.NewExtractor(¶ms)
|
||||
// p.ParseAuxPlatformWithHead("demo/ref/辅助数据.dat")
|
||||
fmt.Println("Reference Time: 2000-01-01 12:00:00 UTC, seconds:", extract.Time2000UTCSec())
|
||||
p.ParseAuxPlatform("demo/output/SJY01_051622_S96_PLAT.AUX")
|
||||
p.ParseAuxEBox("demo/output/SJY01_051622_S96_EB.AUX")
|
||||
_, err := e.ParseAuxPlatform("demo/output/051622/SJY01_PMS_20240516_101236_051622_096.AUX")
|
||||
if err != nil {
|
||||
logrus.Error(err)
|
||||
}
|
||||
// p.ParseAuxEBox("demo/output/SJY01_PMS_20240516_101236_051622_096_EB.AUX")
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user