Changes between Version 20 and Version 21 of MiscellaneousQuestions
- Timestamp:
- Jun 15, 2009, 3:14:21 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MiscellaneousQuestions
v20 v21 52 52 xcopy /e X:\ ANUGA 53 53 }}} 54 Of course, you could just drag all files on the DVD (X:\ is the assumed drive letter) to the desired target directory with Explorer. 54 Of course, you could just drag all files on the DVD (X:\ is the assumed drive letter) to the desired 55 target directory with Explorer. 55 56 56 57 Now you must create an environment variable ANUGADATA that points to the directory you just created: … … 62 63 '''Settings|Control Panel|System''' tool ('''Advanced''' tab). 63 64 64 At this point you should run the '''build_elevation.py''' script to create a set of 'combined_elevation' 65 files ready to be used by the ANUGA system. It is possible that you have not been given the elevation 66 data on the DVD as it is too large: in that case you cannot run the '''build_elevation.py''' script. 65 At this point you should run the '''build_elevation.py''' script to convert the raw elevation data to a set 66 of 'combined_elevation' files ready to be used by the ANUGA system. 67 67 68 Yyou may have been given the combined elevation files on your 69 DVD (if there was room), in which case you do not strictly need to run '''build_elevation.py''' at this point. 70 In that case you have been given the combined elevation output from '''build_elevation.py''' and can skip this step. 68 It is possible that you have not been given the elevation data on the DVD as it is too large. In that case 69 you cannot run the '''build_elevation.py''' script and you should skip to the next step. 71 70 {{{ 72 71 cd C:\ANUGA … … 74 73 python build_elevation.py 75 74 }}} 75 When you get to the point of running the model with your own data, you '''must''' run '''build_elevation.py''' 76 to recreate the combined elevation files every time you change the elevation data. 76 77 77 When you get to the point of running the model with your own data, you '''must''' run '''build_elevation.py''' to recreate 78 the combined elevation files every time you change the elevation data. 79 80 Next, you just prepare and execute the model: 78 Next, you prepare and execute the model: 81 79 {{{ 82 80 python setup_model.py 83 81 python run_model.py 84 82 }}} 85 86 83 This should all run to completion. If you do get an error from '''setup_model.py''' or '''run_model.py''' 87 84 look for some explanation in the log files, which you should find somewhere under '''C:\ANUGA\data'''.