Skip to content

Commit

Permalink
--index_on_timedelta FLAG added to convert_init_to_valid_time.py.
Browse files Browse the repository at this point in the history
```
INDEX_ON_TIMEDELTA = flags.DEFINE_boolean(
    'index_on_timedelta',
    True,
    help=(
        'Whether to index the output on the timedelta (and drop initial time).'
        ' If False, index on the initial time axis (and drop the timedelta).'
    ),
)
```
PiperOrigin-RevId: 686675196
  • Loading branch information
langmore authored and Weatherbench2 authors committed Oct 23, 2024
1 parent 95b99d4 commit 1f0821a
Show file tree
Hide file tree
Showing 3 changed files with 407 additions and 208 deletions.
159 changes: 0 additions & 159 deletions scripts/convert_init_to_valid_time_test.py

This file was deleted.

Loading

0 comments on commit 1f0821a

Please sign in to comment.