grec
Classification of spatial patterns from environmental data through GRadient RECognition
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Repository
Classification of spatial patterns from environmental data through GRadient RECognition
Basic Info
- Host: GitHub
- Owner: LuisLauM
- Language: R
- Default Branch: master
- Size: 8.13 MB
Statistics
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
grec
[G]radient-based [REC]ognition of Spatial Patterns in Environmental Data
Provides algorithms for detection of spatial patterns from oceanographic data using image processing methods based on Gradient Recognition.
Installation
Get the development version from github:
``` r
install.packages("devtools")
devtools::install_github("LuisLauM/grec") ```
Or install the CRAN version
r
install.packages("grec")
Examples
Next, we show an example of the use of getGradients function:
``` r require(grec)
data(sst) exampleSSTData <- list(x = sst$longitude, y = sst$latitude, z = sst$sst[,,1])
data(chl) exampleChlData <- list(x = chl$longitude, y = chl$latitude, z = chl$chlorophyll[,,1])
Simple application (over a XYZ list)
outsst <- getGradients(x = exampleSSTData) outchl <- getGradients(x = exampleChlData)
External transformation for chl data
outchl$z <- log10(outchl$z)
par(mfrow = c(2, 2), mar = rep(0, 4), oma = rep(0, 4))
image(exampleSSTData, col = colPalette, axes = FALSE) mtext(text = "Original SST", side = 3, line = -2, adj = 0.99, cex = 1.2)
image(out_sst, col = colPalette, axes = FALSE) mtext(text = "SST gradient", side = 3, line = -2, adj = 0.99, cex = 1.2)
image(exampleChlData, col = colPalette, axes = FALSE) mtext(text = "Original Chlorophyll", side = 3, line = -2, adj = 0.99, cex = 1.2)
image(out_chl, col = colPalette, axes = FALSE) mtext(text = "Chlorophyll gradient\n(log scale)", side = 3, line = -4, adj = 0.99, cex = 1.2) ```
Versions
1.6.0
- We are changing the name of the
detectFrontsfunction togetGradients. However, for backwards compatibility,detectFrontswill still be available until v2.0.0. - Adding new methods for
getGradients: Agenbag-1 and Agenbag-2. - Some minor improvements in documentation and code.
1.5.0
- Compatibility with imagine >= 2.0.0.
- New method for SpatRast objects (from terra package).
- Improvements on all methods.
ConvolNormalization = FALSEby default now indetectFrontsfunction.
1.3.5
- Corrections in Belkin and O'Reilly method (GX and GY kernel orientation).
- Adding methods for
SpatRast(from terra package) objects. - Support for Raster- objects will be retired since next versions of grec.
- Improving methods for
arrayobjects. ConvolNormalizationargument is now set asFALSEby default indetectFrontsfunction.- Minor corrections and improvements in efficiency.
1.3.4
- Improvements on the way to work with matrix, arrays, list and RasterLayer objects.
- Correcting some bugs regarded with methods.
- Include
ConvolNormalizationargument and enable normalization of convolutions as default. - Add documentation of methods.
1.2.2
- Improvements on the way to extract matrix data from RasterLayer object.
- Correcting a bug when RasterLayer has not in-memory loaded data (e.g. RasterLayer gotten from read a tif file).
- Add documentation for NWUSASST data.
1.2.1
- Some corrections in demos.
- Include a new example data set for SST: NWUSASST
- Testing normalization inside B&O method.
1.2.0
- Several changes and improvments on package structure.
finalSmoothandcontrolargumentsdetectFrontswere deleted.extraParamsfunction were deleted. Now, available advanced arguments will be showed in help.- Help document for
detectFrontswere updated. - Another little corrections and improvements.
1.1.2
- Now,
detectFrontsfunction has themethodargument, using by default the Belkin & O'Reilly (2009) algorithm. - Some little corrections.
1.1.1
- Modifications on the title of package.
- New set of exampling data (
grecExData). - Changes how the
detectFrontsalgorithm works internally.
1.1.0
- Change function name: from
fromDetectiontodetectFronts. - Change several argument names on
detectFrontsfunction. thresholdsargument has been replaced byqLimits. Check help ofdetectFrontsfunction for details.- On
detectFrontsfunction, the final smooth application is optional now, controling byfinalSmoothargument. - Now
detectFrontsis a method for classes:matrix,arrayandRasterLayer. - Bugs and corrections.
1.0.0
- First Public Release
Owner
- Name: Wencheng Lau-Medrano
- Login: LuisLauM
- Kind: user
- Company: University of Montpellier
- Repositories: 3
- Profile: https://github.com/LuisLauM
GitHub Events
Total
- Push event: 3
- Pull request event: 1
Last Year
- Push event: 3
- Pull request event: 1
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 51
- Total Committers: 2
- Avg Commits per committer: 25.5
- Development Distribution Score (DDS): 0.02
Top Committers
| Name | Commits | |
|---|---|---|
| Wencheng Lau-Medrano | l****m@g****m | 50 |
| Wencheng | w****g@l****n | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- LuisLauM (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 206 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 12
- Total maintainers: 1
cran.r-project.org: grec
Gradient-Based Recognition of Spatial Patterns in Environmental Data
- Homepage: https://github.com/LuisLauM/grec
- Documentation: http://cran.r-project.org/web/packages/grec/grec.pdf
- License: GPL (≥ 3)
-
Latest release: 1.6.2
published 11 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.2.0 depends
- imagine >= 1.5.2 depends
- raster * depends
- utils * imports