Skip to content

Instantly share code, notes, and snippets.

@TakashiUNUMA
TakashiUNUMA / autobuild_netcdf4.sh
Last active August 29, 2015 14:03
An automated shell script for compiling and installing NetCDF ver. 4.1.3, ZLIB ver. 1.2.5 and HDF5 ver. 1.8.7. For more information of this script, please see the top level of this script.
#!/bin/sh
#
# autobuild_netcdf4.sh
#
# original script coded by Takashi Unuma, Kyoto Univ.
# Last modified: 2014/07/07
#
# -------------------------------------------------------
# required commands:
# wget, tar, make
@TakashiUNUMA
TakashiUNUMA / SConstruct
Last active August 29, 2015 14:05
A sample SConstruct script for compiling your code(s) with NetCDF4 library.
# -*- coding: utf-8 -*-
#
# SConstruct for compiling Fortran90 code(s)
#
# coded by Takashi Unuma, Kyoto Univ.
# last modified: 2014/08/17
#
# load python modules
import os
@TakashiUNUMA
TakashiUNUMA / GoogleForm自動返信スクリプト.gs
Last active September 10, 2018 15:06
Google フォームを用いた自動返信スクリプト (参考 URL: http://creazy.net/2011/03/google_form_mailsend.html) Version 0.1.2
/*
自動返信 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
*/
@TakashiUNUMA
TakashiUNUMA / .emacs
Created May 7, 2016 08:43
My .emacs setting file
;;
;; .emacs
;;
;; Last modified: 7th May 2016
;;
;; Load PATH
(add-to-list 'load-path "~/.emacs.d/scripts/")
;; package
@TakashiUNUMA
TakashiUNUMA / makereadme.sh
Created March 28, 2017 13:35
README のひな形を Markdown 形式で出力する bash script です.
#!/bin/bash
echo "# README #"
echo ""
echo "original document was written by USERNAME"
echo "last modified: `LANG=en_US ; date +"%d %B %Y"`"
echo ""
@TakashiUNUMA
TakashiUNUMA / extract_grib2_pointdata.sh
Created July 22, 2017 12:49
A sample handling script in order to extract point data from a grib2 format data.
#!/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)
#
@TakashiUNUMA
TakashiUNUMA / diff_gmt5_vs_gmt4.md
Last active March 6, 2018 04:33
GMT5 と GMT4 とのコマンド参照表

GMT5 と GMT4 とのコマンド参照表

last modified: March 6, 2018

基本方針

  • 各 (GMT4 の) コマンドの先頭に gmt を付加する.
    • ただし,gmtsetgmt set に変更する.
  • GMT4 での .gmtdefaults4 ファイルは,gmt.conf に置き換え.