Skip to content

Instantly share code, notes, and snippets.

View 7yl4r's full-sized avatar

Tylar 7yl4r

View GitHub Profile
# === 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

COASTAL NEW ENGLAND MBON

The Coastal New England project integrates powerful technologies (acoustic telemetry, environmental DNA [eDNA], and acoustics) with traditional fisheries sampling to quantify impacts of changes in local and regional water conditions on individuals, populations, and community structure. Research includes study of the impacts of forage species and environmental conditions on Atlantic cod and common terns in both New Hampshire (Isles of Shoals) and southern Maine (Casco Bay) coastal waters. To study the movements of these predators, tracking tags (GPS technology for terns, acoustic technology for Atlantic cod) are used to follow their movements. We will also examine their diet, by analyzing gut contents from Atlantic cod (both visually and via genomic methods) and terns (via genomics of fecal samples). The availability of forage species (including river herring, Atlantic herring, and squid) can be quantified through tracking, active acoustics, passive acoustics, and eDNA of water sample

[tylar@dune ~]$ docker exec -it erddap bash -c "cd webapps/erddap/WEB-INF/ && bash DasDds.sh -verbose"
////**** EDStatic Low Level Startup
localTime=2023-03-13T20:06:13+00:00
erddapVersion=2.18
Java 1.8.0_322 (64 bit, Oracle Corporation) on Linux (4.18.0-408.el8.x86_64).
MemoryInUse= 50 MB (highWaterMark= 50 MB) (Xmx ~= 958 MB)
logLevel=info: verbose=true reallyVerbose=false
got bigParentDirectory from ERDDAP_bigParentDirectory
got emailFromAddress from ERDDAP_emailFromAddress
@7yl4r
7yl4r / README.md
Last active March 14, 2023 17:56
MBON data pipeline schema

The goal is to create maximally-human-usable documentation of datasets, tools, indicators, etc relevant to MBON researchers.

Each entity (eg dataset) would have a directory with a README.md and optional other files. Files to submit to wikidata could also be generated.

Ideally:

  • each entity (eg datset) has a homepage
  • structured metadata is searchable
  • API to access the data
  • programmatically ingest data