This file contains 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
# Load necessary library | |
library(ecmwfr) | |
library(ncdf4) | |
# Define query parameters | |
latitude <- 48.666848 | |
longitude <- 9.834224 | |
years <- 2020:2022 | |
months <- 1:12 | |
days <- 1:31 |
This file contains 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
#' Upgrade a GeoPressureTemplate directory from v3.3 to v3.4 | |
#' | |
#' This function processes all interim Rdata files, upgrading the `param` structure within each | |
#' file if it exists. We also upgrade `config.yml`. The function renames the original files to | |
#' indicate that they have been processed, and saves the updated versions with the same original | |
#' filename. | |
#' | |
#' @return NULL | |
#' @export | |
upgrade_geopressuretemplate <- function() { |
This file contains 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
{ | |
"title": "Geolocator study of {species_name} in {location}", | |
"contributors": [ | |
{ | |
"title": "Raphaël Nussbaumer", | |
"roles": ["ContactPerson", "DataCurator", "ProjectLeader"], | |
"email": "[email protected]", | |
"path": "https://orcid.org/0000-0002-8185-1020", | |
"organization": "Swiss Ornithological Institute" | |
}, |
This file contains 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
# Download eBird GPX track with https://www.faintlake.com/eBird/extension/Enhancements/#E2 | |
# Convert to gpx to geojson (probably can be done in python too) | |
# Compute total duration from https://www.faintlake.com/eBird/compiler/ | |
# run code below | |
import json | |
import gpxpy | |
import gpxpy.gpx | |
from datetime import datetime, timedelta |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder