https://github.com/doi-usgs/rnz

rnz R NetCDF Zarr

https://github.com/doi-usgs/rnz

Science Score: 34.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
  • Academic email domains
  • Institutional organization owner
    Organization doi-usgs has institutional domain (www.usgs.gov)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

rnz R NetCDF Zarr

Basic Info
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • Open Issues: 3
  • Releases: 0
Created almost 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
  output: github_document
---

  

```{r, include = FALSE}
  knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# `rnz` R NetCDF Zarr

# rnz 

[![codecov](https://codecov.io/github/dblodgett-usgs/rnz/graph/badge.svg?token=8DZJ7RYIOJ)](https://codecov.io/github/dblodgett-usgs/rnz)

This is a work in progress package aiming to provide an RNetCDF-like set of functions that wrap the [`pizzarr`](https://github.com/keller-mark/pizzarr) package.

```{r demo}

z <- rnz::z_demo() # to use a directory store

# to use an http store
z <- "https://raw.githubusercontent.com/DOI-USGS/rnz/main/inst/extdata/bcsd.zarr/"

bcsd <- rnz::open_nz(z)

class(bcsd)

if(!is.null(bcsd)) {

rnz::inq_nz_source(bcsd) |> str()

rnz::inq_grp(bcsd) |> str() # only the root group supported

rnz::inq_dim(bcsd, 0) |> str()
rnz::inq_dim(bcsd, "latitude") |> str()

rnz::inq_var(bcsd, 0) |> str()
rnz::inq_var(bcsd, "latitude") |> str()

rnz::inq_att(bcsd, 0, 5) |> str()
rnz::inq_att(bcsd, "latitude", "units") |> str()

rnz::get_var(bcsd, 0) |> str()
rnz::get_var(bcsd, "latitude") |> str()

rnz::get_att(bcsd, 0, 5)
rnz::get_att(bcsd, "time", "units")

rnz::nzdump(bcsd)

}

```

```{r disclaimer, child="DISCLAIMER.md", eval=TRUE}

```

[
  ![CC0](https://i.creativecommons.org/p/zero/1.0/88x31.png)
](https://creativecommons.org/publicdomain/zero/1.0/)

Owner

  • Name: U.S. Geological Survey
  • Login: DOI-USGS
  • Kind: organization
  • Email: gs_help_git@usgs.gov
  • Location: United States of America

By integrating our diverse scientific expertise, we understand complex natural science phenomena and provide scientific products that lead to solutions.

GitHub Events

Total
  • Issues event: 6
  • Issue comment event: 1
  • Push event: 12
  • Pull request event: 4
  • Create event: 1
Last Year
  • Issues event: 6
  • Issue comment event: 1
  • Push event: 12
  • Pull request event: 4
  • Create event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 4
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 16 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.14
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 4
  • Average time to close issues: about 15 hours
  • Average time to close pull requests: 16 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dblodgett-usgs (7)
Pull Request Authors
  • dblodgett-usgs (4)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

DESCRIPTION cran
  • pizzarr * imports
  • tools * imports
  • utils * imports
  • RNetCDF * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests