source: trunk/anuga_core/source/anuga/file/__init__.py @ 7776

Last change on this file since 7776 was 7776, checked in by hudson, 14 years ago

Removed redundant data_manager class. Unit tests are running, but may fail.

File size: 1.6 KB
Line 
1"""Common file modules.
2
3    Here you will find modules to load, save, and extract information in a
4    variety of different file formats.
5   
6This module takes care of reading and writing datafiles such as topograhies,
7model output, etc
8
9
10Formats used within AnuGA:
11
12.sww: Netcdf format for storing model output f(t,x,y)
13.tms: Netcdf format for storing time series f(t)
14
15.csv: ASCII format for storing arbitrary points and associated attributes
16.pts: NetCDF format for storing arbitrary points and associated attributes
17
18.asc: ASCII format of regular DEMs as output from ArcView
19.prj: Associated ArcView file giving more meta data for asc format
20.ers: ERMapper header format of regular DEMs for ArcView
21
22.dem: NetCDF representation of regular DEM data
23
24.tsh: ASCII format for storing meshes and associated boundary and region info
25.msh: NetCDF format for storing meshes and associated boundary and region info
26
27.nc: Native ferret NetCDF format
28
29
30A typical dataflow can be described as follows
31
32Manually created files:
33ASC, PRJ:     Digital elevation models (gridded)
34TSH:          Triangular meshes (e.g. created from anuga.pmesh)
35NC            Model outputs for use as boundary conditions (e.g from MOST)
36
37
38AUTOMATICALLY CREATED FILES:
39
40ASC, PRJ  ->  DEM  ->  PTS: Conversion of DEM's to native pts file
41
42NC -> SWW: Conversion of MOST bundary files to boundary sww
43
44PTS + TSH -> TSH with elevation: Least squares fit
45
46TSH -> SWW:  Conversion of TSH to sww viewable using Swollen
47
48TSH + Boundary SWW -> SWW: Simluation using abstract_2d_finite_volumes   
49"""
50
51# Add path of package to PYTHONPATH to allow C-extensions to be loaded
52import sys
53sys.path += __path__
Note: See TracBrowser for help on using the repository browser.