Compare commits

...

3 commits

2 changed files with 4 additions and 3 deletions

View file

@ -32,6 +32,7 @@ for path in getattr(args, 'raob-sounding-file'):
if station is not None:
sounding.station = station.code
sounding.location = station.location
if not args.dry_run:
db.add(sounding)

View file

@ -1,6 +1,5 @@
import io
import re
import enum
import datetime
from xmet.util import each_chunk
@ -38,7 +37,8 @@ class RAOBObs():
return datetime.datetime(
year = now.year,
month = now.month,
day = day if day < 51 else day - 50
day = day if day < 51 else day - 50,
hour = hour
)
def parse_temp_dewpoint(self, token: str):