Skip to content

Instantly share code, notes, and snippets.

View jamal919's full-sized avatar
🎯
Focusing

Jamal Uddin Khan jamal919

🎯
Focusing
View GitHub Profile
@jamal919
jamal919 / git_commands.md
Created February 5, 2019 17:47
Git Commands

Project

Command Description
git init Initialize a local Git repository
git clone ssh://[email protected]/[username]/[repository-name].git Create a local copy of a remote repository

Basic Commands

| Command | Description |

@jamal919
jamal919 / Make.def.thor
Created January 3, 2019 10:51
SCHISM Makefile for Thor Cluster
################################################################################
# Parallel SCHISM Makefile
#
# User makes environment settings for particular OS / PLATFORM / COMPILER / MPI
# below as well as setting flags having to do with included algorithms (e.g. sediment)
# and the compiler configuration (debug, timing).
#
# The environment settings are based on the following options.
#
# Compiler name:
@jamal919
jamal919 / FFEWSRainDaily.ncl
Created December 27, 2018 16:44
FFEWS Daily Rainfall Plot using NCL
; wrf_gsmcsn_raindaily.ncl
; wrf_gsmcsn_raindaily plots rainfall map on a 24 hour time period.
; The script implicitly expect that the result is from 00Z, and the
; netxt 24 hour interval is also on 00Z.
; Author: Jamal Uddin Khan
; Email: [email protected]
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
@jamal919
jamal919 / Gabura.ipynb
Last active December 19, 2018 17:35
Bathymetric and Topographic Field Campaign - GPS Surveys in Gabura
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jamal919
jamal919 / simple_basemap_example.py
Created September 19, 2018 03:59 — forked from blaylockbk/simple_basemap_example.py
A quick demonstration of creating a basemap and plotting or drawing objects
# Brian Blaylock
# January 5, 2017 It's snowing outside
"""
Simple Basemap examples
Example gallery: http://matplotlib.org/basemap/users/examples.html
Documentation: https://basemaptutorial.readthedocs.io/en/latest/
"""
@jamal919
jamal919 / qgis_python_centos_fix.sh
Created August 18, 2018 04:54
QGIS Python fix on CentOS 7
# Fixing the python issue
cd ~/.qgis2/python/
mkdir QtWebKit Qsci
touch QtWebKit/__init__.py Qsci/__init__.py
echo "from PyQt4.QtWebKit import QWebView" > QtWebKit/QWebView.py
echo "from PyQt4.Qsci import QsciScintilla" > Qsci/qsciscintilla.py
# Fixing the admin/system issue
yum install qca-ossl
@jamal919
jamal919 / github_ssh_config.md
Created July 29, 2018 09:40
SSH authentication in github

Create a repo and make some file

Generate ssh key:

ssh-keygen -t rsa -C "[email protected]"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings. Test SSH key:

ssh -T [email protected]
@jamal919
jamal919 / build_delft3d_ubuntu.sh
Created April 27, 2018 21:29
Delft3D Ubuntu Build Script
#!/bin/bash
# Tools and Exports
export ACLOCAL=/usr/bin/aclocal
export AUTOMAKE=/usr/bin/automake
export AUTOHEADER=/usr/bin/autoheader
export AUTOCONF=/usr/bin/autoconf
export LIBTOOLIZE=/usr/bin/libtoolize
export MPIFC="/usr/bin/mpif90"
export MPILIBS="-L/usr/lib/x86_64-linux-gnu"
@jamal919
jamal919 / google_earth_centos.sh
Created February 22, 2018 17:20
Google Earth Installation Script for CentOS Linux
#!/bin/sh
su
yum localinstall --nogpgcheck google-earth-stable_current_x86_64.rpm
yum install redhat-lsb.i686
rpm -ivh --force google-earth-stable_current_x86_64.rpm
yum reinstall filesystem
@jamal919
jamal919 / OceanScience.org
Last active April 15, 2022 06:25
Ocean Science Curriculum Booklist

Introduction to weather, climate and air pollution

Ahrens, C. D., Meteorology Today, 11th editions, Cengage, 2015

Data Analysis Method for Atmospheric and Oceanic Science

RudraPratap, Getting started with MATLAB, 1stEdition, Oxford, 2010.  Trauth, M., MATLAB Recipes for Earth Sciences, 3rd Edition, Springer 2010  Trauth, M. and E. Sillman, MATLAB and Design Recipes for Earth Sciences, 1st Edition, Springer, 2012  von Storch, H. and F.W. Zwiers, Statistical Analysis in Climate Research,1st Edition, Cambridge,2003  Wilks D.S., Statistical Methods in the Atmospheric Sciences. 3rd edition, Academic, 2010