Changes between Version 21 and Version 22 of MiscellaneousQuestions


Ignore:
Timestamp:
Jun 15, 2009, 4:41:29 PM (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MiscellaneousQuestions

    v21 v22  
    4444an exercise for the student!
    4545
    46 You must copy the entire contents of the DVD to a place in your filesystem.  Let's assume that you want
     46First, it is assumed that you have installed the NAUGA software according to the Installation Guide.
     47
     48Next, you must copy the entire contents of the DVD to a place in your filesystem.  Let's assume that you want
    4749to put the data into '''C:\ANUGA'''.  You would do this in a Command Prompt window:
    4850{{{
     
    5557target directory with Explorer.
    5658
    57 Now you must create an environment variable ANUGADATA that points to the directory you just created:
     59Now you must create an environment variable '''ANUGADATA''' that points to the directory you just created:
    5860{{{
    5961set ANUGADATA=C:\ANUGA
     
    6163Doing the above in a Command Prompt window is temporary - if you open another window you will not have the
    6264ANUGADATA 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
     66if you don't know how to do this.
    6467
    6568At 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
     69of 'combined_elevation' files ready to be used by the ANUGA system. It is possible that you have not been
     70given the elevation data on the DVD as it is too large.  In that case
    6971you cannot run the '''build_elevation.py''' script and you should skip to the next step.
    7072{{{
     
    7375python build_elevation.py
    7476}}}
    75 When you get to the point of running the model with your own data, you '''must''' run '''build_elevation.py'''
     77When you get to the point of running the model with your own data, you must run '''build_elevation.py'''
    7678to recreate the combined elevation files every time you change the elevation data.
    7779
     
    8183python run_model.py
    8284}}}
    83 This should all run to completion.  If you do get an error from '''setup_model.py''' or '''run_model.py'''
     85This should all run to completion, though it may take several days, depending on the hardware used.
     86
     87If you do get an error from '''setup_model.py''' or '''run_model.py'''
    8488look for some explanation in the log files, which you should find somewhere under '''C:\ANUGA\data'''.
    8589Just keep drilling down from that point until you find a directory called '''outputs'''.  The latest directory
    8690in '''outputs''' should contain a file called '''screen_error.txt''' with an explanation of the error at the end.
     91
     92Once the simulation has completed you may view the results using the ANUGA viewer as described in the
     93Installation Guide and User Manual, run the script '''export_results.py''' to generate rasters suitable for GIS
     94mapping, or write dedicated python scripts extracting timeseries at selected locations.
     95
     96The ANUGA User Manual describes hot to use the ANUGA system in general and provides some examples of its use.
    8797-----
    8898