Skip to content

Commit d41683b

Browse files
author
rilma
committed
YYDDD correction
1 parent 25ab953 commit d41683b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyhwm2014/pyhwm14.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__( self, alt=300., altlim=[0., 400.], altstp=25., ap=[-1, 35],
7777
print( 'Invalid option!' )
7878
return
7979

80-
self.iyd = int((year - (2000 if year > 1999 else 1900)) * 10000) + day
80+
self.iyd = int((year - (2000 if year > 1999 else 1900)) * 1000) + day
8181

8282
if option != 3:
8383
self.sec = ut * 3600.

0 commit comments

Comments
 (0)