This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to download all the tiles of the AW3D30 v3.2 dataset | |
download () { | |
# I've noticed that non-existing tiles return a 302 response code. | |
# I assume all the tiles with data have a url that returns 200 response code. | |
local url=https://www.eorc.jaxa.jp/ALOS/aw3d30/data/release_v2012/$1 | |
echo Cheking $url | |
local respcode=$(curl -o /dev/null --silent -Iw '%{http_code}' $url) | |
echo Response code: $respcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math as m | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from tqdm import tqdm | |
x_init, y_init = -1.6, -0.09 | |
alpha = 0.0001 | |
N = 100000 |