A python library that simplify the access to the NOAA digitalelevation map.
If you want to use this library on any GNU/Linux or OSX system you just need to execute:
$ pip install noaadem
If you want to improve this library, you should download the github repository and execute:
$ make deploy
On Ubuntu Desktop there are some other libraries not installed by default (zlibc libbz2-dev) which may need to be installed to use these library. Use the next command to automate the installation of the additional C libraries:
$ make ubuntu deploy
To test all the project you should use the command:
$ make test
If you want to help us or report an issue join to us through the GitHub issue tracker.
There are 3 methods to obtain the NOAA digital elevation map matrix:
The obtain method accepts 2 parameters the latitude and longitude numpy matrix:
from noaadem import instrument from datetime import datetime dem_matrix = instrument.obtain(lat, lon)
Next, the obtain_to method needs a standard NOAA CLASS netcdf filename to parse:
from noaadem import instrument from datetime import datetime dem_matrix = instrument.obtain_to('data/goes13.2014.124.123422.BAND_01.nc')
Last, the persist method needs a standard NOAA CLASS netcdf filename to save the variables:
from noaadem import instrument from datetime import datetime from netcdf import netcdf as nc instrument.persist('data/goes13.2014.124.123422.BAND_01.nc') with nc.loader('data/goes13.2014.124.123422.BAND_01.nc') as root: print nc.getvar(root, 'dem')[:]
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size noaadem-0.0.16.tar.gz (8.4 kB)||File type Source||Python version None||Upload date||Hashes View|