##Configuring Ubuntu for using IIT Delhi internet
For details http://www.cc.iitd.ernet.in/ and http://mirror.iitd.ernet.in
Thanks Vibhav Sinha for helping in compiling this
###Contents:
#!/bin/bash | |
# | |
# Author: Manabendra Saharia | |
# Purpose: Downloads CHIRPS for a) Quasi-Global, b) p05, c) .netcdf | |
# | |
# Usage: | |
# ./CHIRPS_global_p05_netcdf.sh -s 1981 -e 2019 -f tifs -r p05 -o /home/msaharia/Downloads/CHIRPS | |
# | |
# Revision: | |
# 10Mar2020: Initial functionality |
##Configuring Ubuntu for using IIT Delhi internet
For details http://www.cc.iitd.ernet.in/ and http://mirror.iitd.ernet.in
Thanks Vibhav Sinha for helping in compiling this
###Contents:
#!/bin/bash | |
# Institut für Wetter- und Klimakommunikation GmbH / Qmet | |
# O. Maywald <[email protected]> | |
# This should install CDO with grib2, netcdf and HDF5 support. Note that the binaries are in /opt/cdo-install/bin. | |
# For further information look: | |
# http://www.studytrails.com/blog/install-climate-data-operator-cdo-with-netcdf-grib2-and-hdf5-support/ | |
# docker-command |
I hereby claim:
To claim this, I am signing this object:
The forcing data is generated based on the 1/16 degree Livneh forcing dataset. The original Livneh dataset is obtained at HYDRA:/raid/blivneh/forcings/outputs/CONUS/asc.v.1.2.b/data_${latitude}_${longitude}
. A copy of the data has been placed at HYAK:/civil/hydro/michaelou/summaProj/summaData/blivneh/asc.v.1.2.b
. The daily forcing data is disaggregated to a hourly basis by running VIC_4.1.2
. The results of disaggregation are placed at HYAK:/civil/hydro/michaelou/summaProj/summaData/blivneh/workdir
.
# configure my multi-line prompt | |
".bash_profile" 74L, 2693C | |
PS_BRANCH="(git ${ref#refs/heads/}) " | |
} | |
PROMPT_COMMAND=parse_git_branch | |
PS_INFO="$GREEN\u@\h$RESET:$BLUE\w" | |
PS_GIT="$YELLOW\$PS_BRANCH" | |
PS_TIME="\[\033[\$((COLUMNS-10))G\] $RED[\t]" | |
export PS1="\${PS_FILL}\[\033[0G\]${PS_INFO} ${PS_GIT}${PS_TIME}\n${RESET}\$ " |
#This automatically installs the packages that are required | |
#and loads the packages that are already installed | |
kpacks <- c('raster', 'ggplot2', 'reshape2') | |
new.packs <- kpacks[!(kpacks %in% installed.packages()[,"Package"])] | |
if(length(new.packs)) install.packages(new.packs) | |
lapply(kpacks, require, character.only=T) | |
remove(kpacks, new.packs) |
alias lcd=changeDirectory | |
function changeDirectory { | |
cd $1 ; ls | |
} |