last modified: March 6, 2018
- 各 (
GMT4
の) コマンドの先頭にgmt
を付加する.- ただし,
gmtset
はgmt set
に変更する.
- ただし,
GMT4
での.gmtdefaults4
ファイルは,gmt.conf
に置き換え.
#SHELL = /bin/sh | |
#----------------------------------------------------------------------------- | |
# NETCDF SECTION | |
#----------------------------------------------------------------------------- | |
# - netcdf3 | |
OUTPUTINC = -I/usr/local/netcdf-3.6.3-gnu/include | |
OUTPUTLIB = -L/usr/local/netcdf-3.6.3-gnu/lib | |
LINKOPTS = -lnetcdf | |
# - netcdf4 |
/* | |
自動返信 Google Apps Script | |
オリジナルスクリプト:http://swimath2.hatenablog.com/entry/2014/10/11/224320 | |
this script was modified by Takashi Unuma | |
inspired by Ryohei Kato | |
last modified: 3rd Mar. 2017 | |
*/ |
#!/bin/bash | |
# | |
# extract_grib2_pointdata.sh | |
# | |
# original script was coded by Takashi Unuma, Tsu local meteorological office, Japan Meteorological Agency | |
# last modified: 22nd July 2017 | |
# | |
# requirements: | |
# wgrib2, sed, awk (gawk is also available) | |
# |
#!/bin/sh | |
# 描画する元のデータを指定 (gnuplot スクリプトへ引き継がれる) | |
infile=input.txt | |
# bash ファイル内での出力ファイル名を指定 (gnuplot スクリプトへ引き継がれる) | |
epsfile=output.eps | |
cat > tmp.gnuplot << EOF | |
# 出力を eps color enhanced に指定するためのおまじない |
#!/bin/awk -f | |
{ | |
if(binsize <= 0) exit | |
if($1 < 0){ | |
frequency[int($1 / binsize) - 1] ++ | |
}else{ | |
frequency[int($1 / binsize)] ++ | |
} |
#!/bin/bash | |
echo "# README #" | |
echo "" | |
echo "original document was written by USERNAME" | |
echo "last modified: `LANG=en_US ; date +"%d %B %Y"`" | |
echo "" |
;; | |
;; .emacs | |
;; | |
;; Last modified: 7th May 2016 | |
;; | |
;; Load PATH | |
(add-to-list 'load-path "~/.emacs.d/scripts/") | |
;; package |
#!/bin/sh | |
if test $# -lt 1 ; then | |
echo "USAGE: sh $(basename $0) [figure(s)]" | |
exit 1 | |
fi | |
infiles=$* | |
WIDTH="140mm" | |
DIR="pictures/" |
#!/bin/sh | |
# | |
# wget wrapper script | |
# | |
# original script coded by Takashi Unuma, Kyoto Univ. | |
# Last modified: 2013/12/11 | |
# | |
debug_level=100 | |
if test $# -lt 2 ; then |