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 / jupyter.desktop
Created January 14, 2020 15:06
Jupyter Notebook Desktop Description
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Jupyter
Comment=IPython Notebook Interface
Exec=env PROJ_LIB=/home/durand/.anaconda3/share/proj /home/durand/.anaconda3/bin/jupyter-notebook
Icon=jupyter
Terminal=true
Type=Application
Categories=Programming;
@jamal919
jamal919 / matlab.desktop
Created January 14, 2020 15:08
MATLAB Desktop Definitions
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=MATLAB2017a
Comment=Language of Scientific Computing
Exec=/home/durand/.local/MATLAB/R2017a/bin/matlab -desktop
Icon=matlab
Terminal=false
StartupWMClass=MATLAB
Type=Application
@jamal919
jamal919 / ExtractData.m
Created July 14, 2020 09:12
NetCDF Extraction script
% DATA_EXTRACTOR is a piece of program to extract data from netCDF file
% with CF convention.
% DATA_EXTRACTOR takes the location of the netCDF file graphically and then
% ask the user for bounding box of the data extraction. It also shows basic
% information from first file in the directory to input the to be extracted
% variable name.
% When giving input Numbers are input as it is. However variable name must
% be enclosed in a 'singleQuote'.
% Author: Jamal Uddin Khan
% IWFM, BUET - 2015.
@jamal919
jamal919 / Dockerfile
Created September 26, 2021 16:42
Comodo-Tools Docker
FROM ubuntu:18.04
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone
RUN apt-get update\
&& apt-get install -y mercurial wget make automake cmake g++ gfortran pkg-config python hwloc\
&& apt-get install -y liblapack-dev libsuitesparse-dev libopenmpi-dev\
&& apt-get install -y libscotch-dev petsc-dev libmetis-dev libarpack2-dev libparpack2-dev\
&& apt-get install -y libnetcdf-dev libshp-dev flex bison libproj-dev libgsl-dev
@jamal919
jamal919 / outlier_modified_tau.py
Created November 15, 2021 11:46
Outlier detection based on modified tau
# -*- coding: utf-8 -*-
"""
Outlier detection based on modified tau
author: khan
"""
import numpy as np
from scipy.stats import t