Content¶
- Modules and functions are currently provided in the following categories:
Functions and modules (alphabetical)¶
Function/module |
Short description |
---|---|
Write a, B, iii), … on a plot |
|
Equilibrium fractionation between liquid water and vapour |
|
Kinetic fractionation of molecular diffusion of water vapour |
|
Wrapper for numpy.argmax, numpy.ma.argmax, and max for Python iterables |
|
Wrapper for numpy.argmin, numpy.ma.argmin, and min for Python iterables |
|
Wrapper for numpy.argsort, numpy.ma.argsort, and sorted for Python iterables |
|
Index in array which entry is closest to a given number |
|
Collection of color palettes and continuous color maps |
|
Physical, mathematical, computational, isotope, and material constants |
|
Convert date representations between different regional variants |
|
Return numeric time values given datetime objects or strings, same as date2num |
|
Convert dates to English date format YYYY-MM-DD hh:mm:ss |
|
Convert dates to French date format DD/MM/YYYY hh:mm:ss |
|
Return numeric time values given datetime objects or strings |
|
Convert dates to American date format MM/DD/YYYY hh:mm:ss |
|
Class as cftime.datetime for non-CF-conform calendars |
|
|
Return datetime objects given numeric time values, same as num2date |
Open dialog to select one directory |
|
Open dialog to select several directories |
|
Divide two arrays, return ‘otherwise’ if division by 0 |
|
Divide two arrays, return ‘otherwise’ if division by 0, same as division |
|
|
Mixing ratio from partial pressure of water vapour and total pressure |
|
Relative humidity from partial pressure of water vapour and temperature |
|
Specific humidity from partial pressure of water vapour and total pressure |
|
Air vapour pressure deficit from partial pressure and temperature |
Parameter screening using Morris’ method of Elementary Effects, same as screening |
|
Morris measures mu, stddev and mu* |
|
Convert dates to standard date format DD.MM.YYYY hh:mm:ss |
|
Convert dates to French date format DD/MM/YYYY hh:mm:ss |
|
Convert dates to American date format MM/DD/YYYY hh:mm:ss |
|
|
Saturation vapour pressure over water and ice |
Convert French dates to standard date format DD.MM.YYYY hh:mm:ss |
|
Convert French dates to English date format YYYY-MM-DD hh:mm:ss |
|
Convert French dates to American date format MM/DD/YYYY hh:mm:ss |
|
Open dialog to select one file |
|
Open dialog to select one or several files |
|
Read numbers from a file into 2D float array |
|
Read numbers and strings from a file into 2D float and string arrays |
|
Special functions for testing optimisations, sensitivity analysis,
several forms of the logistic function and its derivatives, and other
functions to be used with |
|
Area of grid cells on Earth |
|
Extract information from netCDF file, same as |
|
Integer to Roman numeral conversion |
|
Multi-dimensional non-parametric kernel regression |
|
|
Determination of bandwidth for kernel regression |
Median absolute deviation test |
|
Matthias Cuntz’ standard plotting class |
|
Calculate daily, monthly, yearly, etc. means of data |
|
Sampling of optimised trajectories for Morris measures / Elementary Effects |
|
|
Partial pressure of water vapour from mixing ratio and total pressure |
Extract information from netCDF file |
|
netCDF4 functions to copy a netcdf file while doing some transformations on variables and dimensions |
|
Read variables from netCDF file |
|
Return datetime objects given numeric time values |
|
Pack array with mask like Fortran intrinsic pack |
|
Position arrays of subplots to be used with add_axes |
|
Read variables from netCDF file, same as ncread |
|
|
Partial pressure of water vapour from relative humidity and temperature |
|
Air vapour pressure deficit from relative humidity and temperature |
Roman numeral to integer conversion |
|
Shuffled-Complex-Evolution algorithm for function min(max)imisation |
|
Parameter screening using Morris’ method of Elementary Effects |
|
|
Partial pressure of water vapour from specific humidity and total pressure |
Write a copyright notice on a plot |
|
Read strings from a file into 2D string array |
|
Convert strings to LaTeX strings in math environment used by matplotlib’s usetex |
|
Prints arguments on screen and in file, like Unix/Linux tee utility |
|
Write text on a plot |
|
Unpack array using mask like Fortran intrinsic unpack |
|
Update arrays in uncompressed numpy .npz format |
|
Update arrays in compressed numpy .npz format |
|
Convert dates to standard date format DD.MM.YYYY hh:mm:ss |
|
Convert dates to English date format YYYY-MM-DD hh:mm:ss |
|
Convert dates to French date format DD/MM/YYYY hh:mm:ss |
|
|
Partial pressure of water vapour from air vapour pressure deficit and temperature |
|
Relative humidity from air vapour pressure deficit and temperature |
Read numbers and strings from Excel file into 2D float and string arrays, same as xread |
|
Read numbers and strings from Excel file into 2D float and string arrays, same as xread |
|
Read numbers and strings from Excel file into 2D float and string arrays |
Functions and modules per category¶
- Array Manipulation
Function/module
Short description
Wrapper for numpy.argmax, numpy.ma.argmax, and max for Python iterables
Wrapper for numpy.argmin, numpy.ma.argmin, and min for Python iterables
Wrapper for numpy.argsort, numpy.ma.argsort, and sorted for Python iterables
Index in array which entry is closest to a given number
Pack array with mask like Fortran intrinsic pack
Unpack array using mask like Fortran intrinsic unpack
- Ascii Files
Function/module
Short description
Read numbers from a file into 2D float array
Read numbers and strings from a file into 2D float and string arrays
Read strings from a file into 2D string array
- Data Processing
Function/module
Short description
Multi-dimensional non-parametric kernel regression
kernel_regression_h()
Determination of bandwidth for kernel regression
Median absolute deviation test
Calculate daily, monthly, yearly, etc. means of data
- Date and Time
Function/module
Short description
Convert date representations between different regional variants
Return numeric time values given datetime objects or strings, same as date2num
Convert dates to English date format YYYY-MM-DD hh:mm:ss
Convert dates to French date format DD/MM/YYYY hh:mm:ss
Return numeric time values given datetime objects or strings
Convert dates to American date format MM/DD/YYYY hh:mm:ss
Class as cftime.datetime for non-CF-conform calendars
dec2date()
Return datetime objects given numeric time values, same as num2date
Convert dates to standard date format DD.MM.YYYY hh:mm:ss
Convert dates to French date format DD/MM/YYYY hh:mm:ss
Convert dates to American date format MM/DD/YYYY hh:mm:ss
Convert French dates to standard date format DD.MM.YYYY hh:mm:ss
Convert French dates to English date format YYYY-MM-DD hh:mm:ss
Convert French dates to American date format MM/DD/YYYY hh:mm:ss
Convert dates to standard date format DD.MM.YYYY hh:mm:ss
Convert dates to English date format YYYY-MM-DD hh:mm:ss
Convert dates to French date format DD/MM/YYYY hh:mm:ss
Return datetime objects given numeric time values
- Grids and Polygons
Function/module
Short description
Area of grid cells on Earth
- Isotopes
Function/module
Short description
Equilibrium fractionation between liquid water and vapour
Kinetic fractionation of molecular diffusion of water vapour
- Math
Function/module
Short description
Divide two arrays, return ‘otherwise’ if division by 0
Divide two arrays, return ‘otherwise’ if division by 0, same as division
Parameter screening using Morris’ method of Elementary Effects, same as screening
Morris measures mu, stddev and mu*
Special functions for testing optimisations, sensitivity analysis, several forms of the logistic function and its derivatives, and other functions to be used with
scipy.optimize
Sampling of optimised trajectories for Morris measures / Elementary Effects
Shuffled-Complex-Evolution algorithm for function min(max)imisation
Parameter screening using Morris’ method of Elementary Effects
- Meteorology
Function/module
Short description
eair2mrair()
Mixing ratio from partial pressure of water vapour and total pressure
eair2rhair()
Relative humidity from partial pressure of water vapour and temperature
eair2shair()
Specific humidity from partial pressure of water vapour and total pressure
eair2vpd()
Air vapour pressure deficit from partial pressure and temperature
esat()
Saturation vapour pressure over water and ice
mrair2eair()
Partial pressure of water vapour from mixing ratio and total pressure
rhair2eair()
Partial pressure of water vapour from relative humidity and temperature
rhair2vpd()
Air vapour pressure deficit from relative humidity and temperature
shair2eair()
Partial pressure of water vapour from specific humidity and total pressure
vpd2eair()
Partial pressure of water vapour from air vapour pressure deficit and temperature
vpd2rhair()
Relative humidity from air vapour pressure deficit and temperature
- Miscellaneous
Function/module
Short description
Physical, mathematical, computational, isotope, and material constants
Open dialog to select one directory
Open dialog to select several directories
Open dialog to select one file
Open dialog to select one or several files
Integer to Roman numeral conversion
Roman numeral to integer conversion
Prints arguments on screen and in file, like Unix/Linux tee utility
- Plotting
Function/module
Short description
Write a, B, iii), … on a plot
Collection of color palettes and continuous color maps
Integer to Roman numeral conversion
mcPlot
Matthias Cuntz’ standard plotting class
Position arrays of subplots to be used with add_axes
Roman numeral to integer conversion
Write a copyright notice on a plot
Convert strings to LaTeX strings in math environment used by matplotlib’s usetex
Write text on a plot
- Special Files
Function/module
Short description
Extract information from netCDF file, same as ncinfo
Extract information from netCDF file
netCDF4 functions to copy a netcdf file while doing some transformations on variables and dimensions
Read variables from netCDF file
Read variables from netCDF file, same as ncread
Update arrays in uncompressed numpy .npz format
Update arrays in compressed numpy .npz format
Read numbers and strings from Excel file into 2D float and string arrays, same as xread
Read numbers and strings from Excel file into 2D float and string arrays, same as xread
Read numbers and strings from Excel file into 2D float and string arrays