L1A -> L2
This commit is contained in:
@@ -22,15 +22,15 @@ var (
|
||||
|
||||
var cmdWarp = &cobra.Command{
|
||||
Use: "warp",
|
||||
Short: "transform the input image using rpc",
|
||||
Short: "L1A to L2: transform the input image using rpc",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
godal.RegisterAll()
|
||||
dem.Dem1KmLT = dem.NewDem1Km(config.GCONFIG.Dem.Dem1Km)
|
||||
warpDEM, _ = filepath.Abs(config.GCONFIG.Dem.Dem1Km)
|
||||
err := producer.Warp(warpIn, warpOut, warpMeta, warpRPC, warpDEM)
|
||||
err := producer.L1AtoL2(warpIn, warpOut, warpMeta, warpRPC, warpDEM)
|
||||
if err != nil {
|
||||
logrus.Error("Generate L2 product failed:", err)
|
||||
os.Exit(10)
|
||||
os.Exit(1)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user