Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Steger authored and Christian Steger committed Jun 5, 2022
1 parent 30b87fe commit d667960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions horayzon/geoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def geoid_undulation(lon_ip, lat_ip, geoid="EGM96"):
if not os.path.isdir(path_aux_data + "EGM96"):
file_url = "https://earth-info.nga.mil/php/" \
+ "download.php?file=egm-96interpolation"
print("Download EGM96 data")
print("Download EGM96 data:")
download_file(file_url, path_aux_data + "EGM96.zip")
with zipfile.ZipFile(path_aux_data + "EGM96.zip", "r") as zip_ref:
zip_ref.extractall(path_aux_data + "EGM96")
Expand Down Expand Up @@ -98,7 +98,7 @@ def geoid_undulation(lon_ip, lat_ip, geoid="EGM96"):
os.mkdir(path_aux_data + "GEOID12A/")
file_url = "https://www.ngs.noaa.gov/PC_PROD/GEOID12A/" \
+ "Format_ascii/g2012aa0.asc.gz"
print("Download GEOID12A data")
print("Download GEOID12A data:")
download_file(file_url, path_aux_data + "GEOID12A/g2012aa0.asc.gz")

# Load data
Expand Down
2 changes: 1 addition & 1 deletion horayzon/ocean_masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_GSHHS_coastlines(dom):
if not os.path.isdir(path_aux_data + "GSHHG"):
file_url = "http://www.soest.hawaii.edu/pwessel/gshhg/" \
+ "gshhg-shp-2.3.7.zip"
print("Download GSHHG data")
print("Download GSHHG data:")
download_file(file_url, path_aux_data + "gshhg-shp-2.3.7.zip")
with zipfile.ZipFile(path_aux_data + "gshhg-shp-2.3.7.zip", "r") \
as zip_ref:
Expand Down

0 comments on commit d667960

Please sign in to comment.