replace exits with raises in grid_setup, and remove the realtime check
Compare changes
+ 96
− 100
@@ -45,6 +45,7 @@ import atexit
@@ -206,34 +207,20 @@ def grid_setup(glm_files, args, work_dir=os.getcwd()):
@@ -333,10 +320,90 @@ def add_gglm_attrs(netcdf_filename, input_filenames):
@@ -381,12 +448,6 @@ if __name__ == '__main__':
@@ -394,75 +455,10 @@ if __name__ == '__main__':
\ No newline at end of file
\ No newline at end of file