Skip to content

Instantly share code, notes, and snippets.

@geografif
geografif / mhw_240312.R
Created May 8, 2024 03:24
Marine Heatwave Detection
######################
# Setup
######################
version
rm(list = ls())
getwd()
setwd("D:/Project/MHW")
var canopyHeight = ee.ImageCollection('projects/meta-forest-monitoring-okw37/assets/CanopyHeight').mosaic();
var treenotree = canopyHeight.updateMask(canopyHeight.gte(1))
//// viz settings ////
var palettes = require('users/gena/packages:palettes');
///Our layers///
Map.addLayer(treenotree, {
min: 0,
max: 1,
var canopyHeight = ee.ImageCollection('projects/meta-forest-monitoring-okw37/assets/CanopyHeight').mosaic();
var treenotree = canopyHeight.updateMask(canopyHeight.gte(1))
//// viz settings ////
var palettes = require('users/gena/packages:palettes');
///Other teams layers///
var ethcanopyheight = ee.Image('users/nlang/ETH_GlobalCanopyHeight_2020_10m_v1')
Map.addLayer(ethcanopyheight, {
min: 0,
library(knitr)
opts_chunk$set(fig.width=7, fig.align='center', fig.height=7, dpi=72)
# load require R packages. Make sure the are installed before loading them
library("raster")
library("rgdal")
library("lubridate")
library("zoo")
library("bfast")
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
https://server1.nusantara-atlas.org/geoserver/ows?service=wfs&version=1.0.0&request=GetCapabilities
WFShttp://server1.nusantara-atlas.org/geoserver/wfsatlas-workspace-v2:IDN_BurnArea_2019_TreeMapIDN_BurnArea_2019_TreeMapfeatures, IDN_BurnedArea_2019_TreeMapEPSG:4326atlas-workspace-v3:IDN_FC2020_KLHKIDN_FC2020_KLHKfeatures, IDN_FC2020_KLHKEPSG:4326atlas-workspace-v3:admincountry_spvadmincountry_spvfeatures, admincountry_spvEPSG:4326atlas-workspace-v2:admincountry_spvadmincountry_spvfeatures, admincountry_spvEPSG:4326atlas-workspace-v3:admindistrict_spvadmindistrict_spvfeatures, admindistrict_spvEPSG:4326atlas-workspace-v2:admindistrict_spvadmindistrict_spvfeatures, admindistrict_spvEPSG:4326atlas-workspace-v3:adminprovince_spvadminprovince_spvfeatures, adminprovince_spvEPSG:4326atlas-workspace-v2:adminprovince_spvadminprovince_spvfeatures, adminprovince_spvEPSG:4326atlas-workspace-v3:adminsubdistrict_spvadminsubdistrict_spvfeatures, adminsubdistrict_spvEPSG:4326atlas-workspace-v2:adminsubdistrict_spvadminsubd
/geoserver
https://aws.simontini.id/geoserver/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=simontini:Auriga%20-%20%202023&outputFormat=SHAPE-ZIP
https://aws.simontini.id/geoserver/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=NAMALAYER&outputFormat=SHAPE-ZIP
WFSGeoServer Web Feature ServiceThis is the reference implementation of WFS 1.0.0 and WFS 1.1.0, supports all WFS operations including Transaction.WFS, WMS, GEOSERVERhttp://127.0.0.1:8080/geoserver/wfsNONENONEkpa:20231201_LPRA_11_4520231201_LPRA_11_45features, 20231201_LPRA_11_45EPSG:3395kpa:20231201_LPRA_11_45_point20231201_LPRA_11_45_pointfeatures, 20231201_LPRA_11_45_pointEPSG:3395kpa:20231203_LPRA_0107_point20231203_LPRA_0107_pointfeatures, 20231203_LPRA_0107_pointEPSG:4326simontini:2024 Momi Minerba 6 February2024 Momi Minerba 6 Februaryfeatures, 2024 Momi Minerba 6 FebruaryEPSG:4326simontini:Administrasi Prov PilotAdministrasi Prov Pilotfeatures, Administrasi Prov PilotEPSG:3395simontini:Auriga - Deforestasi 2023Auriga -
@geografif
geografif / netcdf.ipynb
Last active March 1, 2024 01:09
netcdf.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
version
rm(list = ls())
getwd()
setwd("D:/Learn/rs4ecologist/")
getwd()
library(MODIS) #facilitates MODIS use
@geografif
geografif / qgis_atlas_theme
Created January 8, 2024 08:09
qgis atlas theme
if ((@atlas_featurenumber % 4 =0),
'theme_4',
if ((@atlas_featurenumber % 3 =0),
'theme_3',
if ((@atlas_featurenumber % 2 =0),
'theme_2',
'theme1')
))