This is referenced from the gist of Vivek
mkdir $HOME/.globus
cd $HOME/.globus
wget https://software.xsede.org/security/xsede-certs.tar.gz
#!/bin/bash | |
# Script to install hdf5 and netCDF4 libraries on a Linux Ubuntu system | |
# After: https://code.google.com/p/netcdf4-python/wiki/UbuntuInstall | |
# And http://unidata.github.io/netcdf4-python/ | |
# This script install the libraries to conventional places so that other | |
# programs can find it. However, to do this, it requires sudo permission | |
# You can check for newer version of the programs on |
This is referenced from the gist of Vivek
mkdir $HOME/.globus
cd $HOME/.globus
wget https://software.xsede.org/security/xsede-certs.tar.gz
# Tmux | |
### From the termianl | |
start tmux session with name | |
``` | |
tmux new -s [name] | |
``` | |
attach to a existed tmux session by name |
# "`-''-/").___..--''"`-._ | |
# (`6_ 6 ) `-. ( ).`-.__.`) WE ARE ... | |
# (_Y_.)' ._ ) `._ `. ``-..-' PENN STATE! | |
# _ ..`--'_..-_/ /--'_.' ,' | |
# (il),-'' (li),' ((!.-' | |
# | |
# Author: Weiming Hu <[email protected]> | |
# Geoinformatics and Earth Observation Laboratory (http://geolab.psu.edu) | |
# Department of Geography and Institute for CyberScience | |
# The Pennsylvania State University |
This is my note book on learning about climatic models, specifically CMIP5. I will update this note book from now and then to keep track of and classfiy massive information online.
CMIP5 Model Output Requirements: File Contents and Format, Data Structure and Metadata
``` | |
x=1; for i in ../spread-*png; do counter=$(printf %03d $x); ln "$i" "$counter".png; x=$(($x+1)); done | |
ffmpeg -r 5 -i %03d.png -c:v libx264 -r 30 -pix_fmt yuv420p spread.mp4 | |
-r 1/10 : Display each image for 10 seconds. | |
-i picture-%01d.png : Reads all pictures that starts with name “picture-“, following with 1 digit (%01d) and ending with .png. If the images name comes with 2 digits (I.e picture-10.png, picture11.png etc), use (%02d) in the above command. | |
-c:v libx264 : Output video codec (i.e h264). | |
-r 30 : framerate of output video | |
-pix_fmt yuv420p : Output video resolution |
# | |
# "`-''-/").___..--''"`-._ | |
# (`6_ 6 ) `-. ( ).`-.__.`) WE ARE ... | |
# (_Y_.)' ._ ) `._ `. ``-..-' PENN STATE! | |
# _ ..`--'_..-_/ /--'_.' ,' | |
# (il),-'' (li),' ((!.-' | |
# | |
# | |
# Author: Weiming Hu ([email protected]) and Martina Calovi ([email protected]) |