Commit 0902b597 authored by Willi Rath's avatar Willi Rath

Add SRTM15_PLUS (#52)

parent a584da47
repo_name: SRTM15_PLUS
people: Willi Rath (<wrath@geomar.de>)
http_path_remote: https://git.geomar.de/data/SRTM15_PLUS
git_path_remote: git@git.geomar.de:data/SRTM15_PLUS
repo_description: |
A new 15-arc second resolution global topography/bathymetry grid
(SRTM15_PLUS) developed from a wide variety of data sources.
<http://topex.ucsd.edu/WWW_html/srtm30_plus.html>
prefixes: data doc
data:
- url: "ftp://topex.ucsd.edu/pub/srtm15_plus/topo15_compressed.nc"
prefix: data
file_name: topo15.nc
method: !!python/name:data_repo_renderer.CurlSingleFile
doc:
- url: "http://topex.ucsd.edu/WWW_html/srtm30_plus.html"
prefix: doc
file_name: topex.ucsd.edu_WWW_html_srtm30_plus.html
method: !!python/name:data_repo_renderer.CurlSingleFile
- url: "http://topex.ucsd.edu/sandwell/publications/124_MG_Becker.pdf"
prefix: doc
file_name: Becker_et_al_2009.pdf
method: !!python/name:data_repo_renderer.CurlSingleFile
- url: "ftp://topex.ucsd.edu/pub/srtm15_plus/README.V1.txt"
prefix: doc
file_name: README.V1.txt
method: !!python/name:data_repo_renderer.CurlSingleFile
- url: "ftp://topex.ucsd.edu/pub/srtm15_plus/README_PERMISSIONS.txt"
prefix: doc
file_name: README_PERMISSIONS.txt
method: !!python/name:data_repo_renderer.CurlSingleFile
- url: "ftp://topex.ucsd.edu/pub/srtm15_plus/REFERENCES_SRTM15_PLUS.txt"
prefix: doc
file_name: REFERENCES_SRTM15_PLUS.txt
method: !!python/name:data_repo_renderer.CurlSingleFile
post_processing:
- util/convert_to_netCDF4_classic.sh
#!/bin/bash
# define and export convert function
function convert_to_nc4c {
file_name=$1
echo "converting ${file_name}"
nccopy -7 -d 1 -s \
${file_name} ${file_name}_tmp_nc4
mv ${file_name}_tmp_nc4 ${file_name}
}
export -f convert_to_nc4c
# bunzip and convert using 4 threads
find data/ -type f -iname \*.nc -print0 | \
xargs -0 -n1 -P4 -I {} bash -c "convert_to_nc4c {}"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment