image thumbnail

updated 3 months ago

Remove outliers by M Sohrabinia

Turns outliers from a vector or matrix to NaN based on modified Thompson Tau method (outliers, thompson tau, matrix outliers)

outliers(X0, num_outliers)

image thumbnail

updated 1 year ago

Find commontimes by M Sohrabinia

Finds common date-times from two or more date-time vectors with a given tolerance in seconds (find common times, common dates, common datetimes)

commontimes(times1,times2,prec_sec,varargin)

image thumbnail

updated 1 year ago

Read netCDF files by M Sohrabinia

Reads netCDF data for given fields from a list of given files (read netcdf files, read nc fields, timeseries from netcd...)

[varargout]=readncfiles(subroutine,varargin)

image thumbnail

updated almost 2 years ago

Build custom colormaps by M Sohrabinia

Buillds any sequence of colormaps based on wrgbcmyk colors (colormap, custom colormap, build colormap)

[cmap]=buildcmap(colors)

image thumbnail

updated 2 years ago

Atmospheric pressure unit conversion by M Sohrabinia

A simple tool to be integrated in longer scripts which require pressure conversions (atmospheric pressure ..., pa to psi, pa to bar)

[pAtm pBar pPSI pAt pTorr]=atmpressure(pPa)

image thumbnail

updated 2 years ago

LatLon distance by M Sohrabinia

Find distance between two points based on latlon coordinates (distance, latlon distance, distance on earth)

lldistkm.m

image thumbnail

updated 2 years ago

fillgaps in an array/matrix/image by M Sohrabinia

Fill gaps in a cell-array/vector/matrix or image based on an alternative cell/vector/matrix/image (fill gaps, image missing pixels, matrix missing values)

fillgaps(target,refarray,fields2fill,varargin)

image thumbnail

updated 2 years ago

Regression Outliers by M Sohrabinia

Removes outliers from X and Y variables based on regression residuals (regression outliers, detect outliers in a ..., turns outliers to nan)

regoutliers(X0,Y0,noutliers,plotOp)

image thumbnail

updated 2 years ago

Find pixel indices in HDF-EOS files based on LatLon coordinates by M Sohrabinia

Finds x-y direct indexes of one or more LatLon coordinate pairs in certain HDF-EOS files (direct index from lat..., hdfeos, sinusoidal to geog)

...

image thumbnail

updated 2 years ago

Convert Julian date to Normal Date by M Sohrabinia

Accepts Julian Date(s) vector (numeric), gives normal date(s) in a character vector (julian dates in hdfeo..., julian date in hdfeos...)

jl2normaldate(jl_dates,dateFormat)

image thumbnail

updated 2 years ago

Convert normal date to Julian Date by M Sohrabinia

This function takes a vector of dates and derives Julian Date out of it. (datetime)

jl_date(dateVec)

Contact us