Changes between Version 21 and Version 22 of MiscellaneousQuestions
- Timestamp:
- Jun 15, 2009, 4:41:29 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MiscellaneousQuestions
v21 v22 44 44 an exercise for the student! 45 45 46 You must copy the entire contents of the DVD to a place in your filesystem. Let's assume that you want 46 First, it is assumed that you have installed the NAUGA software according to the Installation Guide. 47 48 Next, you must copy the entire contents of the DVD to a place in your filesystem. Let's assume that you want 47 49 to put the data into '''C:\ANUGA'''. You would do this in a Command Prompt window: 48 50 {{{ … … 55 57 target directory with Explorer. 56 58 57 Now you must create an environment variable ANUGADATAthat points to the directory you just created:59 Now you must create an environment variable '''ANUGADATA''' that points to the directory you just created: 58 60 {{{ 59 61 set ANUGADATA=C:\ANUGA … … 61 63 Doing the above in a Command Prompt window is temporary - if you open another window you will not have the 62 64 ANUGADATA environment variable defined. To make the variable permanent you must set it in the 63 '''Settings|Control Panel|System''' tool ('''Advanced''' tab). 65 '''Start|Settings|Control Panel|System''' tool ('''Advanced''' tab). See the Installation Guide 66 if you don't know how to do this. 64 67 65 68 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 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 of 'combined_elevation' files ready to be used by the ANUGA system. It is possible that you have not been 70 given the elevation data on the DVD as it is too large. In that case 69 71 you cannot run the '''build_elevation.py''' script and you should skip to the next step. 70 72 {{{ … … 73 75 python build_elevation.py 74 76 }}} 75 When you get to the point of running the model with your own data, you '''must'''run '''build_elevation.py'''77 When you get to the point of running the model with your own data, you must run '''build_elevation.py''' 76 78 to recreate the combined elevation files every time you change the elevation data. 77 79 … … 81 83 python run_model.py 82 84 }}} 83 This should all run to completion. If you do get an error from '''setup_model.py''' or '''run_model.py''' 85 This should all run to completion, though it may take several days, depending on the hardware used. 86 87 If you do get an error from '''setup_model.py''' or '''run_model.py''' 84 88 look for some explanation in the log files, which you should find somewhere under '''C:\ANUGA\data'''. 85 89 Just keep drilling down from that point until you find a directory called '''outputs'''. The latest directory 86 90 in '''outputs''' should contain a file called '''screen_error.txt''' with an explanation of the error at the end. 91 92 Once the simulation has completed you may view the results using the ANUGA viewer as described in the 93 Installation Guide and User Manual, run the script '''export_results.py''' to generate rasters suitable for GIS 94 mapping, or write dedicated python scripts extracting timeseries at selected locations. 95 96 The ANUGA User Manual describes hot to use the ANUGA system in general and provides some examples of its use. 87 97 ----- 88 98