File:Parinacota--S019W070.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Parinacota--S019W070.png(800 × 600 pixels, file size: 151 KB, MIME type: image/png)

Summary

Description
English: This is a plot produced from Shuttle RADAR Topography data for the vicinity of the Parinacota volcano.
Date
Source

I am the original author of the program that produced this image. The data source was Height Map File S19W070.hgt from the United States Geological Survey SRTM database.

The program that produced this image is written in Python with the matplotlib toolkit:

#!/usr/bin/env python
try:
	import numpy
	import matplotlib.pyplot
	import pylab
	import sys
except ImportError as err:
	print("ERROR : required python libraries are not properly installed")
	print(err)
	quit()

input_file = sys.argv[1]
print("Opening File: " + input_file)

datatype = numpy.dtype('>i2')           #16-bit big-endian data 

e1=1201			# Height
e2=1201			# Width

size=e1*e2*datatype.itemsize
shape=(e1, e2)

#data = np.zeros(shape)
data = numpy.fromfile(input_file, datatype, size)
data = data.reshape(shape)

fig1 = pylab.figure(1)
imgplot = matplotlib.pyplot.imshow(data)
imgplot.set_cmap('gray')
imgplot.set_clim(2000,6400)
imgplot.set_interpolation('nearest')		# 'bilinear' , 'bicubic', 'nearest'

matplotlib.pyplot.colorbar()
matplotlib.pyplot.show()


pylab.savefig('output.png')
Author Nimur (talk) (Uploads)

Licensing

Nimur at English Wikipedia, the copyright holder of this work, hereby publishes it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Attribution: Nimur at English Wikipedia
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Original upload log

The original description page was here. All following user names refer to en.wikipedia.
Date/Time Dimensions User Comment
2017-05-04 14:51:05 800 × 600 Nimur This is a plot produced from Shuttle RADAR Topography data for the vicinity of the Parinacota volcano. I am the original author of the program that produced this image. The data source was Height Map File S19W070.hgt from [https://dds.cr.usgs.gov/srtm...

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

4 May 2017

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current03:48, 15 December 2018Thumbnail for version as of 03:48, 15 December 2018800 × 600 (151 KB)I love rpgsTransferred from en.wikipedia (MTC!) (1.1.0)
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata