forked from gsn/predictor
fixed wind data bug
This commit is contained in:
parent
b355b41ed2
commit
ca95e06ab7
4 changed files with 10 additions and 9 deletions
|
|
@ -186,7 +186,7 @@ func (s *service) Update(ctx context.Context) error {
|
|||
}
|
||||
|
||||
func assembleCube(dir string, run time.Time, cubePath string) error {
|
||||
const sizePerVar = 97 * 47 * 361 * 720 * 4 // 97 time steps (0-96 hours), 47 pressure levels
|
||||
const sizePerVar = 33 * 47 * 361 * 720 * 4 // 33 time steps (0-96 hours, 3-hour intervals), 47 pressure levels
|
||||
total := int64(sizePerVar * 3) // 3 variables: gh, u, v
|
||||
f, err := os.Create(cubePath)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue