g2_miss.c(3)
π g2_miss.c(3) π
okay bestie, welcome to the Library Functions Manual moment of your day β this is g2_miss.c, and it's lowkey the missing-value bouncer for GRIB2 data. let's get into it π
β¨ NAME β¨
g2_miss.c β peeks at the Data Representation Template to see if missing value management is even a thing here, and if it is, it hands you back the missing value(s) chilling in the data field. π¦
β¨ SYNOPSIS β¨
#include 'grib2_int.h'
π Functions
void g2_miss (gribfield *gfld, float *rmiss, int *nmiss)β checks the Data Representation Template to see if missing value management is used, and returns the missing value(s) in the data field. no cap.
π DETAILED DESCRIPTION π
so basically: check the Data Representation Template to see if missing value management is used, and return the missing value(s) in the data field. that's the whole vibe. β¨
Author Stephen Gilbeert
Date 2004-12-16
Definition in file g2_miss.c.
π«Ά FUNCTION DOCUMENTATION π«Ά
void g2_miss (gribfield * gfld, float * rmiss, int * nmiss)
Check the Data Representation Template to see if missing value management is used, and return the missing value(s) in the data field. iconic behaviour, honestly. π
π Parameters
gfldβ pointer togribfieldstructure. she's the source of truth.rmissβ the list of the missing values used.nmissβ the number of the missing values included in the field.
π¨ bestie listen β rmiss must be allocated in the calling program, and it needs enough space to hold all the missing values. the function is not gonna do that for you, she's not your mom. allocate it yourself or it's giving undefined chaos. π
Author Stephen Gilbeert
Date 2004-12-16
Definition at line 24 of file g2_miss.c.
References gribfield::idrtmpl, gribfield::idrtnum, and rdieee().
π AUTHOR π
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code. (so yeah, the docs wrote themselves, we're just here for the vibes πΈ)
and that's the whole page, bestie β courtesy of NCEPLIBS-g2c, Version 2.3.0, and yeah it's still repping g2_miss.c(3). slay, go forth and find those missing values πβ¨π
π¦ where this page comes from
- ubuntu resolute: libg2c-dev 2.3.0-4 Β· LGPL-3.0-only
- ubuntu stonking: libg2c-dev 2.3.0-7 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms