Skip to content

Instantly share code, notes, and snippets.

@Guymer
Guymer / foobar.py
Last active April 1, 2018 08:48
just a little test
#!/usr/bin/env python
print("Hello World")
@Guymer
Guymer / foobar.md
Last active April 1, 2018 10:54
just a little test

Hello World

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

@Guymer
Guymer / skewnorm-mwe.py
Created December 26, 2018 12:06
skewnorm MWE script
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# NOTE: This script was run with NumPy version 1.7.1 (and 1.15.3)
# NOTE: This script was run with SciPy version 0.12.1 (and 1.1.0)
# NOTE: SciPy reference: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.skewnorm.html (retrieved 2018-11-29)
# NOTE: Wolfram reference: https://reference.wolfram.com/language/ref/SkewNormalDistribution.html (retrieved 2018-11-29)
# Import modules ...
import matplotlib
@Guymer
Guymer / skewnorm-mwe.csv
Created December 26, 2018 12:07
skewnorm MWE output
-5.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.990000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.980000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.970000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.960000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.950000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.940000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.930000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.920000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.910000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
@Guymer
Guymer / func_overall_index.f90
Created January 9, 2019 17:49
a demonstration of linearizing nested do-loop indexes (for use with MPI)
MODULE foo
USE ISO_FORTRAN_ENV
IMPLICIT NONE
INTERFACE func_overall_index
MODULE PROCEDURE func_overall_index_2loops
MODULE PROCEDURE func_overall_index_3loops
MODULE PROCEDURE func_overall_index_4loops
MODULE PROCEDURE func_overall_index_5loops
@Guymer
Guymer / Doxyfile
Last active February 16, 2019 11:05
Doxygen Issue 3461
# Doxyfile 1.8.14
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
# All text after a double hash (##) is considered a comment and is placed in
# front of the TAG it is preceding.
#
# All text after a single hash (#) is considered a comment and will be ignored.
# The format is:
@Guymer
Guymer / gdal-build-failure.log
Created May 2, 2020 14:50
build log of failing to build gdal on FreeBSD
This file has been truncated, but you can view the full file.
===>>> Port directory: /usr/ports/graphics/gdal
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for graphics/gdal in background
===>>> Gathering dependency list for graphics/gdal from ports
===>>> Launching child to install graphics/libgeotiff
===>>> graphics/gdal >> graphics/libgeotiff (1/1)
@Guymer
Guymer / cartopy_example.py
Last active August 17, 2020 18:42
An example of some basic Cartopy functionality, that is optionally augmented by PyGuymer3 functionality.
#!/usr/bin/env python3
"""
This example scripts shows you how to do a few simple things using Cartopy. It
assumes a basic knowledge of MatPlotLib. This script has duplicated features too
as it also shows you how I personally choose to augment the Cartopy functions
with my own functions. This is optional and controlled by the "bellsWhistles"
Boolean variable. Finally, there are two functions in this script that contain
the "resolution" keyword which is set to "10m". If you want a cruder, more
jagged, plot that is generated quicker then you should set this to "110m". There
We couldn’t find that file to show.
@Guymer
Guymer / gist:46beafc36891331e39ed4db03038abb8
Last active February 18, 2024 11:06
GeoJSON for 2007-06-29 (uploaded using jdowner/gist)
We couldn’t find that file to show.