Skip to content

Instantly share code, notes, and snippets.

View 7yl4r's full-sized avatar

Tylar 7yl4r

View GitHub Profile
original.analyte.name == "Ammonium" ~ "Ammonium",
original.analyte.name == "Ammonia__N_" ~ "Ammonia",
original.analyte.name == "Chlorophyll_a" ~ "Chlorophyll_a",
original.analyte.name == "Chlorophyll_a-_uncorrected" ~ "Chlorophyll_a",
original.analyte.name == "Chlorophyll_a__uncorrected_for_pheophytin" ~ "Chlorophyll_a"
original.analyte.name == "Chlorophyll_a__free_of_pheophytin" ~ "Chlorophyll_a",
original.analyte.name == "Chlorophyll_a-_corrected" ~ "Chlorophyll_a",
original.analyte.name == "Chlorophyll_a__corrected_for_pheophytin" ~ "Chlorophyll_a",
graph TD

subgraph st_andrew_assets_folder
    roi_hab1(seagrass)
    roi_hab2(sand)
    roi_hab3(etc...)
end
import re
def canonical_station_name(station_name):
station_aliases = {
"1": ["1"],
"2": ["2"],
"3": ["3"],
"4": ["4"],
"5": ["5"],
"5.5": ["5.5"],
# === install java
sudo apt install openjdk-21-jdk -y
# check with `java --version`
# === install mvn
wget https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz
tar -xvzf apache-maven-3.9.8-bin.tar.gz
sudo mv apache-maven-3.9.8 /opt/apache-maven
sudo sh -c 'echo "export M2_HOME=/opt/apache-maven" > /etc/profile.d/maven.sh'
sudo sh -c 'echo "export MAVEN_HOME=/opt/apache-maven" >> /etc/profile.d/maven.sh'
sudo sh -c 'echo "export PATH=\${M2_HOME}/bin:\${PATH}" >> /etc/profile.d/maven.sh'
@7yl4r
7yl4r / clai.md
Created May 23, 2024 19:08
brainstorming command line ai templating cli
tail data.csv  # command not found in db, test-run, 
[...]
  > clai: no history matches.
  > clai: "tail" bash program found.
  > clai: "data.csv" local file found.
  > clai: "data.csv" new IPFS pin "Qm91njnpjKNGinv90aj".
  > clai: "data.csv"
  > clai: no fuzzy matches.
  > clai: running it.
// PRVI LST Calc v24
// There are multiple ways to calculate LST
// 1. Cook paper method (directly available from files ("ST_B10" - see below)
// 2. NDVI method (need to add)
// 3. Old method w/atm. coefficients (see below)
// Can we use the Lu and Ld to get LST the old way?
// How to get emissivity and water content?
// 4. Split-window method (will work with LS8?)
// Some functions:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Submitting Author: Name (@github_handle)
All current maintainers: (@ayushanand18, @7yl4r)
Package Name: pyOBIS
One-Line Description of Package: OBIS python client.
Repository Link: https://github.com/iobis/pyobis
Version submitted: 1.4.0
Editor: TBD
Reviewer 1: TBD
Reviewer 2: TBD
Archive: TBD

Package Review

  • As the reviewer I confirm that there are no conflicts of interest for me to review this work (If you are unsure whether you are in conflict, please speak to your editor before starting your review).

Documentation

The package includes all the following forms of documentation:

  • A statement of need clearly stating problems the software is designed to solve and its target audience in README.
  • Installation instructions: for the development version of the package and any non-standard dependencies in README.
  • ipfs is installed on all systems

  • local filesystem contains a cached version of the files on the local

  • a datastructure on the local is maintained to map each filepath to:

    • an IPFS location
    • metadata on the file?
  • accomplish this with git:

  • an .ipfs_cache/{filename} file is maintained for each file on the filesystem

  • the .ipfs_cache/ files are plain-text files which are used to keep the local cache updated