733 | | In case of [../inipar#topography topography] = '' 'read_from_file' '' the subroutine {{{init_grid}}} reads the topography height information (in m above ground) for each grid point in a free floating point format. The ASCII file format is [http://en.wikipedia.org/wiki/ESRI_grid#ASCII ESRI grid] - also known as [http://en.wikipedia.org/wiki/ESRI_grid#ASCII ARC/INFO ASCII GRID] - ''without the header''. The data on file are laid out naturally, i.e. in W-E orientation horizontally and in S-N orientation vertically, they must thus be organized as follows: |
734 | | }}} |
735 | | |---------------- |
| 733 | In case of [../inipar#topography topography] = '' 'read_from_file' '' the subroutine {{{init_grid}}} reads the topography height information (in m above ground) for each grid point in a free floating point format. The ASCII file format is [http://en.wikipedia.org/wiki/ESRI_grid#ASCII ESRI grid] - also known as [http://en.wikipedia.org/wiki/ESRI_grid#ASCII ARC/INFO ASCII GRID] - ''without the header''. The data on file are laid out naturally, i.e. in W-E orientation horizontally and in S-N orientation vertically, they must thus be organized as follows: \\ |
| 734 | * each line contains height information in m from ''i = 0, ..., nx,'' |
| 735 | * the top line contains height information in m for ''j = ny'' (North), the bottom line for ''j = 0'' (South), |
| 736 | * individual data must be separated by at least one blank. \\ |
| 737 | Layout sketch: \\ |
| 738 | {{{#!table style="border:none" |
| 739 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 740 | }}} |
| 741 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 742 | }}} |
| 743 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 744 | }}} |
| 745 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 746 | N |
| 747 | }}} |
| 748 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 749 | }}} |
| 750 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 751 | }}} |
| 752 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 753 | }}} |
| 754 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 755 | }}} |
| 756 | |------ |
| 757 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 758 | }}} |
| 759 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 760 | (0,ny) |
| 761 | }}} |
| 762 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 763 | (1,ny) |
| 764 | }}} |
| 765 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 766 | (2,ny) |
| 767 | }}} |
| 768 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 769 | ... |
| 770 | }}} |
| 771 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 772 | (nx,ny) |
| 773 | }}} |
| 774 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 775 | }}} |
| 776 | {{{#!td style="vertical-align:top;border:none;width:80px" |
| 777 | top of file |
| 778 | }}} |
| 779 | |------ |
| 780 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 781 | }}} |
| 782 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 783 | (0,ny-1) |
| 784 | }}} |
| 785 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 786 | (1,ny-1) |
| 787 | }}} |
| 788 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 789 | (2,ny-1) |
| 790 | }}} |
| 791 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 792 | ... |
| 793 | }}} |
| 794 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 795 | (nx,ny-1) |
| 796 | }}} |
| 797 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 798 | }}} |
| 799 | {{{#!td style="vertical-align:top;border:none;width:30px" |
| 800 | }}} |
| 801 | |------ |
| 802 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 803 | W |
| 804 | }}} |
| 805 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 806 | (0,ny-2) |
| 807 | }}} |
| 808 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 809 | (1,ny-2) |
| 810 | }}} |
| 811 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 812 | (2,ny-2) |
| 813 | }}} |
| 814 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 815 | ... |
| 816 | }}} |
| 817 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 818 | (nx,ny-2) |
| 819 | }}} |
| 820 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 821 | E |
| 822 | }}} |
| 823 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 824 | }}} |
| 825 | |------ |
| 826 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 827 | }}} |
| 828 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 829 | }}} |
| 830 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 831 | }}} |
| 832 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 833 | : |
| 834 | }}} |
| 835 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 836 | }}} |
| 837 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 838 | }}} |
| 839 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 840 | }}} |
| 841 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 842 | }}} |
| 843 | |------ |
| 844 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 845 | }}} |
| 846 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 847 | (0,0) |
| 848 | }}} |
| 849 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 850 | (1,0) |
| 851 | }}} |
| 852 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 853 | (2,0) |
| 854 | }}} |
| 855 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 856 | ... |
| 857 | }}} |
| 858 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 859 | (nx,0) |
| 860 | }}} |
| 861 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 862 | }}} |
| 863 | {{{#!td style="vertical-align:top;border:none;width:80px" |
| 864 | bottom of file |
| 865 | }}} |
| 866 | |------ |
| 867 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 868 | }}} |
| 869 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 870 | }}} |
| 871 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 872 | }}} |
| 873 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 874 | S |
| 875 | }}} |
| 876 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 877 | }}} |
| 878 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 879 | }}} |
| 880 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 881 | }}} |
| 882 | {{{#!td style="vertical-align:top;border:none;width:20px" |
| 883 | }}} |
| 884 | }}} |
| 885 | |---------------- |