This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from datetime import datetime | |
import re | |
import hashlib | |
from pathlib import Path | |
from bs4 import BeautifulSoup | |
import html2text | |
import frontmatter | |
from pytz import timezone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import cartopy.crs as ccrs | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import nuwe_pyeccodes | |
file_path = "some/file/path/to/gmf.gra.2018081800003.grb2" | |
message_number = 85 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# python 2 | |
./configure --prefix=YOUR_INSTALL_DIR --disable-ipv6 \ | |
--with-libs=-L/opt/freeware/lib --disable-shared --without-computed-gotos \ | |
CC=xlc CXX=xlC | |
# python 3 | |
./configure --prefix=YOUR_INSTALL_DIR --disable-ipv6 \ | |
--with-libs=-L/opt/freeware/lib --disable-shared --without-computed-gotos \ | |
CC=xlc CXX=xlC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "matrix_data.h" | |
MatrixData::MatrixData(QVector<double> x_coords, QVector<double> y_coords, QVector<QVector<double>> matrix): | |
QwtRasterData{}, | |
interp_type_{gsl_interp2d_bilinear}, | |
interp_x_accel_{nullptr}, | |
interp_y_accel_{nullptr}, | |
spline_x_coords_{nullptr}, | |
spline_y_coords_{nullptr}, | |
spline_values_{nullptr}, |