This commit is contained in:
nuknal
2024-08-19 18:05:55 +08:00
parent 85f9f44653
commit ea23839bf2
6 changed files with 116 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import (
"github.com/spf13/cobra"
"starwiz.cn/sjy01/image-proc/pkg/calculator"
"starwiz.cn/sjy01/image-proc/pkg/config"
"starwiz.cn/sjy01/image-proc/pkg/dem"
producer "starwiz.cn/sjy01/image-proc/pkg/producer"
)
@@ -35,6 +36,9 @@ var procCmd = &cobra.Command{
logrus.SetLevel(config.GCONFIG.Log.LogLevel)
// dem
dem.Dem1KmLT = dem.NewDem1Km(config.GCONFIG.Dem.Dem1Km)
calculator.EOP = calculator.NewEOPTable()
calculator.EOP.Load(eopData, eopp5Line)