Skip to content

Commit

Permalink
Merge branch 'master' into finish
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardoughton committed Mar 16, 2020
2 parents 0d800b6 + 7656ed4 commit b749634
Show file tree
Hide file tree
Showing 10 changed files with 298 additions and 246 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -100,7 +100,10 @@ Oxford](http://www.eci.ox.ac.uk) within the EPSRC-sponsored MISTRAL programme (
as part of the [Infrastructure Transition Research Consortium](http://www.itrc.org.uk/)

## Contributors
Edward J. Oughton (University of Oxford)
Tom Russell (University of Oxford)
- Edward J. Oughton (University of Oxford)
- Tom Russell (University of Oxford)
- Joel Johnson (The Ohio State University)
- Caglar Yardim (The Ohio State University)
- Julius Kusuma (Facebook Research)

If you find an error or have a question, please submit an issue.
Binary file added data/S004E026_AVE_DSM.tif
Binary file not shown.
63 changes: 63 additions & 0 deletions data/S004E026_AVE_DSM.tif.source.txt
@@ -0,0 +1,63 @@
DOI: https://doi.org/10.5069/G94M92HB
OT Collection ID: OT.112016.4326.2
Dataset Name: ALOS World 3D - 30m Ellipsoidal
Short Name: AW3D30_E
Collection Platform: Satellite Data

----------------------------------------------------------

Dataset Overview: The ALOS Global Digital Surface Model (AW3D30) is a global dataset generated from images collected using the Panchromatic Remote-sensing Instrument for Stereo Mapping (PRISM) aboard the Advanced Land Observing Satellite (ALOS) from 2006 to 2011. As described by the Japan Aerospace Exploration Agency: The Japan Aerospace Exploration Agency (JAXA) releases the global digital surface model (DSM) dataset with a horizontal resolution of approx. 30-meter mesh (1 arcsec) free of charge. The dataset has been compiled with images acquired by the Advanced Land Observing Satellite "DAICHI" (ALOS). The dataset is published based on the DSM dataset (5-meter mesh version) of the "World 3D Topographic Data", which is the most precise global-scale elevation data at this time, and its elevation precision is also at a world-leading level as a 30-meter mesh version. This dataset is expected to be useful for scientific research, education, as well as the private service sector that uses geospatial information. Version: May 2016: Global terrestrial region (within approx. 82 deg. of N/S latitudes) of Version 1 released (approx. 22,100 tiles) Note: JAXA provides two versions of AW3D30 created from the original 5-meter mesh using different downsampling methods: average (provided here) and median (not available from OpenTopography).

Dataset Acknowledgement: J. Takaku, T. Tadono, K. Tsutsui : Generation of High Resolution Global DSM from ALOS PRISM, The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, pp.243-248, Vol. XL-4, ISPRS TC IV Symposium, Suzhou, China, 2014. [PDF file]

T. Tadono, H. Ishida, F. Oda, S. Naito, K. Minakawa, H. Iwamoto : Precise Global DEM Generation By ALOS PRISM, ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, pp.71-76, Vol.II-4, 2014. [PDF file]

Dataset Keywords: global, gdem, ellipsoidal, sar

Survey Date: 01/01/2006 - 01/01/2011

----------------------------------------------------------

Data Provider and Roles:
1. Japan Aerospace Exploration Agency
Role: Collector
Url: https://global.jaxa.jp/


----------------------------------------------------------

Total lidar Points: N/A

Area: N/A

Point Density: N/A

Raster Resolution: 30 meter

Coordinates System:
Horizontal: WGS 1984 [EPSG: 4326]
Vertical: WGS84 (Ellipsoid)

Survey Report: http://www.eorc.jaxa.jp/ALOS/en/aw3d30/

----------------------------------------------------------

Download and Access Products:
1. Raster
opentopoID: OTALOS.082017.4326.1
Data Processing: http://opentopo.sdsc.edu/raster?opentopoID=OTALOS.082017.4326.1

2. Raster
opentopoID: OTALOS.112016.4326.2
Data Processing: http://opentopo.sdsc.edu/raster?opentopoID=OTALOS.112016.4326.2


----------------------------------------------------------

Dataset Extent in KMZ format: https://cloud.sdsc.edu/v1/AUTH_opentopography/www/lidarkmls/raster/AW3D30_bounds.kmz

Dataset Spatial Bounds:
North: 83.0°
South: -81.9999999999999°
East: 180.0°
West: -180.0°
Binary file added data/S004E027_AVE_DSM.tif
Binary file not shown.
21 changes: 21 additions & 0 deletions data/S_AVE_DSM.vrt
@@ -0,0 +1,21 @@
<VRTDataset rasterXSize="7200" rasterYSize="3600">
<SRS dataAxisToSRSAxisMapping="2,1">GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]</SRS>
<GeoTransform> 2.6000000000000000e+01, 2.7777777777777778e-04, 0.0000000000000000e+00, -3.0000000000000000e+00, 0.0000000000000000e+00, -2.7777777777777778e-04</GeoTransform>
<VRTRasterBand dataType="Int16" band="1">
<ColorInterp>Gray</ColorInterp>
<SimpleSource>
<SourceFilename relativeToVRT="1">S004E026_AVE_DSM.tif</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="3600" RasterYSize="3600" DataType="Int16" BlockXSize="3600" BlockYSize="1" />
<SrcRect xOff="0" yOff="0" xSize="3600" ySize="3600" />
<DstRect xOff="0" yOff="0" xSize="3600" ySize="3600" />
</SimpleSource>
<SimpleSource>
<SourceFilename relativeToVRT="1">S004E027_AVE_DSM.tif</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="3600" RasterYSize="3600" DataType="Int16" BlockXSize="3600" BlockYSize="1" />
<SrcRect xOff="0" yOff="0" xSize="3600" ySize="3600" />
<DstRect xOff="3600" yOff="0" xSize="3600" ySize="3600" />
</SimpleSource>
</VRTRasterBand>
</VRTDataset>
64 changes: 36 additions & 28 deletions docs/getting-started.rst
Expand Up @@ -10,48 +10,56 @@ given.
Primary input parameters
------------------------

| Parameters | Description |
| ------------- |:---------------------------:|
| mdp | Controlling |
| dist | Distance |
| hg | Antenna structural heights |
| wn | Wave number |
| dh | Terrain irregularity |
| ens | Surface refractivity |
| gme | Earth's effective curvature |
| zgnd | Surface transfer impedance |
| ze | Effective antenna heights |
| dl | Horizon distances |
| the | Horizon elevation angles |
============= ============================
Parameters Description
============= ============================
mdp Controlling
dist Distance
hg Antenna structural heights
wn Wave number
dh Terrain irregularity
ens Surface refractivity
gme Earth's effective curvature
zgnd Surface transfer impedance
ze Effective antenna heights
dl Horizon distances
the Horizon elevation angles
============= ============================

Secondary parameters (computer in lrprop)
-----------------------------------------

| Parameters | Description |
| ------------- |:------------------------------:|
| dlsa | Line-of-sight distance |
| dx | Scatter distance |
| ael, ak1, ak2 | Line-of-sight coefficients |
| aed, emd | Diffraction coefficients |
| aes, ems | Scatter coefficients |
| dls | Smooth earth horizon distances |
| dla | Total horizon distance |
| tha | Total bending angle |
=============== ============================
Parameters Description
=============== ============================
dlsa Line-of-sight distance
dx Scatter distance
ael, ak1, ak2 Line-of-sight coefficients
aed, emd Diffraction coefficients
aes, ems Scatter coefficients
dls Smooth earth horizon distances
dla Total horizon distance
tha Total bending angle
=============== ============================

Output values
-------------

| Output values | Description |
| ---------------- |:---------------------------:|
| kwx | Error indicator |
| aref | Reference attenuation |
================ ============================
Output values Description
================ ============================
kwx Error indicator
aref Reference attenuation
================ ============================


Figure 1 provides a macro personective on the program flow, subroutines, statistics etc.

Longley-Rice Irregular Terrain Model Scripts, Routines and Functions
--------------------------------------------------------------------
![Example](/_static/lritm_box_diagram.png)

.. image:: _static/lritm_box_diagram.png
:target: _static/lritm_box_diagram.png


The various prediction modes will now covered.
Expand Down
28 changes: 12 additions & 16 deletions scripts/area.py
Expand Up @@ -225,28 +225,24 @@ def csv_writer(data, directory, filename):
dem_path = BASE_PATH
directory = DATA_PROCESSED
directory_shapes = os.path.join(DATA_PROCESSED, 'shapes')

old_crs = 'EPSG:4326'
new_crs = 'EPSG:3857'
cell_range = 20000

#create new geojson for Crystal Palace radio transmitter
transmitter = {
'type': 'Feature',
'geometry': {
'type': 'Point',
'coordinates': (-0.07491679518573545, 51.42413477117786)
},
'properties': {
'id': 'Crystal Palace radio transmitter'
}
}

print('Getting Terrain Irregularity Parameter (delta h) (in meters)')
tip = terrain_area(dem_path, transmitter, cell_range, old_crs)
#Terrain Irregularity Parameter delta h (in meters)
tip = terrain_area(
os.path.join(dem_path, 'ASTGTM2_N51W001_dem.tif'),
-0.074916,
51.424134,
cell_range)
print('TIP for AST DEM', tip)

print('Running itmlogic')
output = itmlogic_area(tip)

print('Writing results to .csv')
print('Writing results to ', os.path.join(directory, 'uarea_output.csv'))
csv_writer(output, directory, 'uarea_output.csv')

tip = terrain_area(os.path.join(dem_path, 'S_AVE_DSM.vrt'), 26.9976, -3.5409, cell_range)
print('TIP for ALOS DEM', tip)
output = itmlogic_area(tip)

0 comments on commit b749634

Please sign in to comment.