Skip to content

Instantly share code, notes, and snippets.

View Peter9192's full-sized avatar

Peter Kalverla Peter9192

View GitHub Profile
@Peter9192
Peter9192 / lljs.py
Created August 1, 2023 12:47
Python script used to detect low-level jets in https://doi.org/10.5194/wes-4-193-2019
#!/usr/bin/env python2
# Possible to run on backend: sbatch extract_mmij.py
#SBATCH --job-name=era5
#SBATCH --partition=short
#SBATCH --time=1:00:00
#SBATCH --nodes=1
""" Three routines to identify low-level jets in wind profiles:
# 1. Simply loop over all profiles using np.apply_along_axis
@Peter9192
Peter9192 / wishful_api.ipynb
Last active April 7, 2023 07:45
Wishful_api_ewatercycle
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
GRIB1| Level| From | To | metgrid | metgrid | metgrid |GRIB2|GRIB2|GRIB2|GRIB2|
Param| Type |Level1|Level2| Name | Units | Description |Discp|Catgy|Param|Level|
-----+------+------+------+----------+---------+-----------------------------------------+-----------------------+
129 | 109 | * | | GEOPT | m2 s-2 | | 0 | 3 | 4 | 105 |
133 | 109 | * | | SPECHUMD | kg kg-1 | Specific humidity | 0 | 1 | 0 | 105 |
130 | 109 | * | | TT | K | Temperature | 0 | 0 | 0 | 105 |
131 | 109 | * | | UU | m s-1 | U | 0 | 2 | 2 | 105 |
132 | 109 | * | | VV | m s-1 | V | 0 | 2 | 3 | 105 |
-----+------+------+------+----------+---------+-----------------------------------------+--------------