This file contains hidden or 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
https://tiler.saltyoffshore.com/cog/preview.png?url=https%3A%2F%2Fdata.saltyoffshore.com%2Fne_canyons%2Foc_composite%2F20250722T142829Z_cog.tif&expression=where%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%3C%3D0.1%2C%28%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29-0.01%29%2F0.09%29*0.18%2Cwhere%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%3C%3D0.3%2C0.18%2B%28%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29-0.1%29%2F0.2%29*0.15%2Cwhere%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%3C%3D1%2C0.33%2B%28%28log10%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%29-(-0.5228787453%29%29%2F%280-(-0.5228787453%29%29%29*0.25%2Cwhere%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%3C%3D3%2C0.58%2B%28%28log10%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%29-0%29%2F%280.4771212547-0%29%29*0.18%2C0.76%2B%28%28log10%28where%28b1%3C0.01%2C0.01%2Cwhere%28b1%3E8%2C8%2Cb1%29%29%29-0.4771212547%29%2F%280.90309-0.4771212547%29%29* |
This file contains hidden or 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
# Configure for sea-surface-temperature | |
# points to data.saltyoffshore.com - works! | |
# a record from IP to data.saltyoffshore.com is created in Cloudflare | |
# Error log configuration | |
error_log /var/log/nginx/error.log debug; | |
access_log /var/log/nginx/access.log combined; | |
# Cloudflare IPs for real IP forwarding | |
set_real_ip_from 103.21.244.0/22; |
This file contains hidden or 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
ryan:salty-data-processor (ssh) ➜ python main.py --dataset MODIS_T-JPL-L2P-v2019.0 [8:13:28] | |
12:13:31 | INFO | Processing 1 datasets for 13 regions | |
12:13:31 | INFO | Processing data for today's local date: 2025-03-29 | |
12:13:31 | INFO | Getting hourly data for MODIS_T-JPL-L2P-v2019.0 in maine_cape_cod | |
12:13:31 | INFO | 🛰️ MODIS: Checking for swath data at 08:13:31 for maine_cape_cod | |
12:13:31 | INFO | ============================== MODIS DOWNLOAD: maine_cape_cod ============================== | |
12:13:31 | INFO | 📂 DIRECTORY: /Users/ryan/Documents/repos/salty-data-processor/downloaded_data/modis_hourly/MODIS_T-JPL-L2P-v2019.0/maine_cape_cod/20250329 | |
12:13:31 | INFO | 🚀 DOWNLOAD: Running podaac-data-downloader for MODIS MODIS_T-JPL-L2P-v2019.0 (Swath: N) | |
################################################################################ |
This file contains hidden or 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
import UIKit | |
import MapboxMaps | |
class SSTColorUtil { | |
private static let colors = DatasetType.sst.config.colorScale | |
static func getContourLineExpression(min minTemp: Double, max maxTemp: Double) -> Exp { | |
let range = maxTemp - minTemp | |
var stops: [Exp.Argument] = [] | |
This file contains hidden or 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
{"lastUpload":"2020-02-20T00:02:06.489Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
test |
This file contains hidden or 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
test |
This file contains hidden or 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
import React, { Component } from 'react'; | |
import { | |
VictoryLine, | |
VictoryChart, | |
VictoryContainer, | |
VictoryClipContainer, | |
VictoryZoomContainer, | |
VictoryAxis, | |
VictoryScatter, | |
} from 'victory'; |
This file contains hidden or 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
import fs from 'fs' | |
import cheerio from 'cheerio' | |
import fetch from 'node-fetch' | |
import _ from 'lodash' | |
const scrapeRoute = { | |
method: 'GET', | |
path: '/api/scrape', | |
handler: function(request, h) { | |
const url = |
This file contains hidden or 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
import LRU from 'lru-cache' | |
const options = { | |
max: 40000, | |
maxAge: 8000 * 60 * 60 | |
} | |
const cache = LRU(options) | |
export function checkCache(key) { |
NewerOlder