This commit is contained in:
Junzi Sun
2019-02-16 01:10:12 +01:00
parent c4c285266c
commit 546d69c129
+3 -1
View File
@@ -33,8 +33,10 @@ RAWTYPE = args.rawtype
LAT0 = float(args.latlon[0]) LAT0 = float(args.latlon[0])
LON0 = float(args.latlon[1]) LON0 = float(args.latlon[1])
UNCERTAINTY = args.uncertainty UNCERTAINTY = args.uncertainty
DUMPTO = os.getcwd() + '/' + args.dumpto DUMPTO = args.dumpto
if DUMPTO is not None:
DUMPTO = os.getcwd() + '/' + DUMPTO
if not os.path.isdir(DUMPTO): if not os.path.isdir(DUMPTO):
print('Error: dump folder (%s) does not exist' % DUMPTO) print('Error: dump folder (%s) does not exist' % DUMPTO)
sys.exit(1) sys.exit(1)