g2_miss.c(3)

πŸ“¦
version 2.3.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 to gribfield structure. 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