Skip to content

Instantly share code, notes, and snippets.

@biomiker
biomiker / LICENSE.txt
Created November 10, 2020 17:31
LICENSE
This license applies to all public Gists in my account, unless otherwise noted in the Gist:
Copyright (c) <2016-2021> <Michael D. Rogoff>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@biomiker
biomiker / gridFloatElevation.pl
Created May 10, 2017 23:42
Perl script for downloading and extracting USGS elevation data
#!/usr/bin/env perl
use strict;
use POSIX;
use Math::Round;
my $debug = 0;
my $dataDir = "/Users/miker/elevation/data";
my $usgsUrl = "https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/13/GridFloat";