Skip to content
Snippets Groups Projects
Commit 223c7cb5 authored by tomrink's avatar tomrink
Browse files

boeing icing data in PST

parent 5b10ce73
No related branches found
No related tags found
No related merge requests found
...@@ -192,6 +192,7 @@ def pirep_icing_from_boeing(dirname='/ships19/cloud/scratch/ICING/BOEING/icing/2 ...@@ -192,6 +192,7 @@ def pirep_icing_from_boeing(dirname='/ships19/cloud/scratch/ICING/BOEING/icing/2
print(e) print(e)
h5f.close() h5f.close()
continue continue
nrpts = ice_bool.shape[0] nrpts = ice_bool.shape[0]
if nrpts > 0: if nrpts > 0:
for k in range(nrpts): for k in range(nrpts):
...@@ -200,7 +201,7 @@ def pirep_icing_from_boeing(dirname='/ships19/cloud/scratch/ICING/BOEING/icing/2 ...@@ -200,7 +201,7 @@ def pirep_icing_from_boeing(dirname='/ships19/cloud/scratch/ICING/BOEING/icing/2
if lats[k] < lat_range[0] or lats[k] > lat_range[1]: if lats[k] < lat_range[0] or lats[k] > lat_range[1]:
continue continue
dto = datetime.datetime(year=years[k], month=mons[k], day=days[k], hour=hours[k], minute=mins[k], second=secs[k], tzinfo=pac_tz) dto = datetime.datetime(year=years[k], month=mons[k], day=days[k], hour=hours[k], minute=mins[k], second=secs[k])
dto = dto.replace(tzinfo=timezone.utc) dto = dto.replace(tzinfo=timezone.utc)
ts = dto.timestamp() ts = dto.timestamp()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment