Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more mrms parameters #73

Merged
merged 2 commits into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-12
- runner: macos-14
target: x86_64
- runner: macos-14
target: aarch64
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions gribberish/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gribberish"
version = "0.21.1"
version = "0.21.2"
authors = ["Matthew Iannucci <[email protected]>"]
description = "Parse grib 2 files with Rust"
edition = "2021"
Expand All @@ -10,8 +10,8 @@ keywords = ["grib", "weather", "meteorology", "climate", "oceanography"]
categories = ["science", "encoding", "compression"]

[dependencies]
gribberish-types = { path = "../types", version = "0.21.1" }
gribberish-macros = { path = "../macros", version = "0.21.1" }
gribberish-types = { path = "../types", version = "0.21.2" }
gribberish-macros = { path = "../macros", version = "0.21.2" }
chrono = "0.4"
openjpeg-sys = { version = "1.0.3", optional = true }
png = { version = "0.17.2", optional = true }
Expand Down
56 changes: 56 additions & 0 deletions gribberish/src/templates/product/parameters/mrms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,62 @@ pub enum MRMSPrecipitationProduct {
#[abbrev = "RadarOnly_QPE_72H"]
#[unit = "mm"]
RadarPrecipSeventyTwo = 8,
#[description = "Multi-sensor accumulation 1-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_01H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipOnePass1 = 30,
#[description = "Multi-sensor accumulation 3-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_03H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipThreePass1 = 31,
#[description = "Multi-sensor accumulation 6-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_06H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipSixPass1 = 32,
#[description = "Multi-sensor accumulation 12-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_12H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipTwelvePass1 = 33,
#[description = "Multi-sensor accumulation 24-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_24H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipTwentyFourPass1 = 34,
#[description = "Multi-sensor accumulation 48-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_48H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipFortyEightPass1 = 35,
#[description = "Multi-sensor accumulation 72-hour (1-hour latency)"]
#[abbrev = "MultiSensor_QPE_72H_Pass1"]
#[unit = "mm"]
MultiSensorPrecipSeventyTwoPass1 = 36,
#[description = "Multi-sensor accumulation 1-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_01H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipOnePass2 = 37,
#[description = "Multi-sensor accumulation 3-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_03H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipThreePass2 = 38,
#[description = "Multi-sensor accumulation 6-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_06H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipSixPass2 = 39,
#[description = "Multi-sensor accumulation 12-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_12H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipTwelvePass2 = 40,
#[description = "Multi-sensor accumulation 24-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_24H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipTwentyFourPass2 = 41,
#[description = "Multi-sensor accumulation 48-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_48H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipFortyEightPass2 = 42,
#[description = "Multi-sensor accumulation 72-hour (2-hour latency)"]
#[abbrev = "MultiSensor_QPE_72H_Pass2"]
#[unit = "mm"]
MultiSensorPrecipSeventyTwoPass2 = 43,
#[description = "Radar precipitation accumulation 15-minute"]
#[abbrev = "RadarOnly_QPE_15M"]
#[unit = "mm"]
Expand Down
1 change: 1 addition & 0 deletions gribberish/src/utils/ccsds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pub struct InternalState {
pub avail_in: usize,
pub avail_out: usize,
pub total_in: usize,
#[allow(dead_code)]
pub total_out: usize,

/** First not yet flushed byte in rsi_buffer */
Expand Down
4 changes: 2 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gribberish-macros"
version = "0.21.1"
version = "0.21.2"
authors = ["Matthew Iannucci <[email protected]>"]
description = "Procedural macros for the gribberish crate"
edition = "2021"
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/mpiannucci/gribberish"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
gribberish-types = { path = "./../types", version = "0.21.1" }
gribberish-types = { path = "./../types", version = "0.21.2" }
syn = { version = "1.0", features = ["full"] }
quote = "1.0"

Expand Down
4 changes: 2 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "gribberishjs"
version = "0.21.1"
version = "0.21.2"

[lib]
crate-type = ["cdylib"]
Expand All @@ -10,7 +10,7 @@ crate-type = ["cdylib"]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.5.0", default-features = false, features = ["chrono_date"] }
napi-derive = "2.5.0"
gribberish = { path = "../gribberish", version = "0.21.1" }
gribberish = { path = "../gribberish", version = "0.21.2" }
chrono = "0.4"

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gribberishpy"
version = "0.21.1"
version = "0.21.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -10,5 +10,5 @@ crate-type = ["cdylib"]

[dependencies]
pyo3 = "0.23.1"
gribberish = { path = "../gribberish", version = "0.21.1" }
gribberish = { path = "../gribberish", version = "0.21.2" }
numpy = "0.23.0"
Loading
Loading