GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CUG-hydro/SpatioTemporalCluster: Track the spatiotemporal evolution of extreme climate events

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
R
R
 
 
data-raw
data-raw
 
 
inst/SMI
inst/SMI
 
 
man
man
 
 
scripts
scripts
 
 
src
src
 
 
test
test
 
 
tests
tests
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
DESCRIPTION
DESCRIPTION
 
 
LICENSE
LICENSE
 
 
NAMESPACE
NAMESPACE
 
 
README.Rmd
README.Rmd
 
 
README.md
README.md
 
 
SpatioTemporal.cluster.Rproj
SpatioTemporal.cluster.Rproj
 
 
appveyor.yml
appveyor.yml
 
 
codecov.yml
codecov.yml
 
 

Repository files navigation

SpatioTemporal.cluster

AppVeyor build status Travis build status Codecov test coverage

The goal of SMI is to 对时空关联的干旱进行特征分析

Installation

安装Julia

  • Install Julia (>=1.5.3)
  • Install StatsBase, RCall package
  • In Julia, build RCall, ensure using RCall works

安装SpatioTemporal.cluster

devtools::install_github("kongdd/SpatioTemporalCluster")

Example

推荐使用julia版本的cluster_SpatioTemporal,且设置method = "tree",此版本下速度最快

library(SpatioTemporalCluster)
clusterIds <- cluster_SpatioTemporal_julia(arr, method = "tree",
    ncell_connected = 1L, ncell_overlap = 5L, factor = 1e4, diag = FALSE) 

covr::package_coverage()

covr::package_coverage()
SpatioTemporalCluster Coverage: 12.06%
R/cluster_stats.R: 0.00%
R/HW_indices.R: 0.00%
R/plot.R: 0.00%
src/init.c: 0.00%
src/InputOutput.f90: 0.00%
src/mo_drought_evaluation.f90: 0.00%
src/mo_global_variables.f90: 0.00%
src/mo_julian.f90: 0.00%
src/mo_kind.f90: 0.00%
src/mo_percentile.f90: 0.00%
src/mo_sort.f90: 0.00%
src/mo_utils.f90: 0.00%
src/mo_weight.f90: 0.00%
src/sub_ClusterStats2.f90: 0.00%
R/connect_temporal_Rjulia.R: 40.00%
R/cluster_SpatioTemporal_Fortran.R: 40.82%
R/tools.R: 46.34%
R/cluster_SpatioTemporal_Rjulia.R: 75.56%
R/connect_temporal_Rfortran.R: 76.47%
R/clusterID_recode.R: 92.86%
R/connect_spatial.R: 95.24%

References

  • Samaniego et al. (2013), “Implications of Parameter Uncertainty on Soil Moisture Drought Analysis in Germany”, J Hydrometeor, 2013 vol. 14 (1) pp. 47-68. http://journals.ametsoc.org/doi/abs/10.1175/JHM-D-12-075.1

  • Samaniego et al. (2018), “Anthropogenic warming exacerbates European soil moisture droughts”, Nature Climate change, 2018 pp. 1-9. http://dx.doi.org/10.1038/s41558-018-0138-5

About

Track the spatiotemporal evolution of extreme climate events

Topics

droughtheatwaverspatialtemporaltracking

Resources

Readme
License
Activity
Custom properties

Stars

5 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.