htrdr-planets-spk.sh (1785B)
1 #!/bin/sh 2 3 # Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) 4 # 5 # This file is part of Méso-Web. 6 # 7 # Méso-Web is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 3 of the License, or 10 # (at your option) any later version. 11 # 12 # Méso-Web is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with Méso-Web. If not, see <http://www.gnu.org/licenses/>. 19 20 . "./config.sh.in" 21 22 set -e 23 24 sed -n '0,/^## Content/p' "${pntspk_readme}" \ 25 | sed '$d' \ 26 | sed "s/\${VERSION}/${pntspk_version}/g" 27 28 printf '## Downloads\n' 29 30 archs=$(find downloads -name "htrdr-Planets-Starter-Pack*.tar.gz" | sort -r) 31 printf '%s\n' "${archs}" | list_starter_packs 32 33 sed -n "/^## Content/,/^### \`sun_intensity_lite.bin\`/p" "${pntspk_readme}" \ 34 | sed '$d' 35 36 printf '[]' 37 printf '(images/random01_visible.jpg)\n' 38 printf '\n' 39 printf '> Images rendered by [htrdr-planets](man/man1/htrdr-planets.1.html)\n' 40 printf '> from the random01 dataset.\n' 41 printf '\n' 42 printf '[]' 43 printf '(images/random01_LW_10-12um.jpg)\n' 44 printf '\n' 45 printf '> Brightness temperature, in Kelvins of the random01 dataset.\n' 46 printf '> Cold zones (in altitude) or highly reflective (i.e. weakly emitting)\n' 47 printf '> zones are made visible because of their lower specific intensity.\n' 48 printf '\n' 49 50 sed -n '/^### `sun_intensity_lite.bin`/,$p' "${pntspk_readme}"