get raw data
This commit is contained in:
@@ -14,15 +14,16 @@ var parseCmd = &cobra.Command{
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
params := extract.Params{
|
||||
InputData: "demo/051513.dat",
|
||||
InputData: "demo/data/051513.dat",
|
||||
OutputPath: "demo/output",
|
||||
TempPath: "demo/temp",
|
||||
DataId: "051513",
|
||||
Satellite: "SJY01",
|
||||
}
|
||||
p := extract.NewExtractor(¶ms)
|
||||
// p.ParseAuxPlatform("demo/output/051513_S46_AUX1.dat")
|
||||
p.ParseAuxPlatformWithHead("demo/ref/辅助数据.dat")
|
||||
fmt.Println("Reference Time: 2000-01-01 12:00:00 UTC, seconds:", extract.Time2000UTCSec())
|
||||
p.SeprateAuxAndImgData("demo/temp/051513_S46.dat")
|
||||
// p.SeprateAuxAndImgData("demo/temp/051513_S46.dat", 1)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user