Compare commits

..

No commits in common. "3d21477330e52ae9fa888469d9f6661d9c558148" and "2fdcf821a593f127a27de9e5dd26d9490b9e3b80" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View file

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

View file

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