g2ccompare.c(3)
π g2ccompare.c π
okay bestie, so this is a page from the Library Functions Manual (that's the manual it lives in, mwah) and it's literally all about peeking at two open GRIB2 files and comparing their metadata. no cap, that's the whole vibe. π¦
β¨ NAME β¨
g2ccompare.c β compare the metadata of two open GRIB2 files. that's it, that's the girl. π
πΈ SYNOPSIS πΈ
#include 'grib2_int.h'
#include <math.h>
#include <stdarg.h>
π Functions π
int g2c_compare (int g2cid1, int g2cid2)β compare the metadata of two open GRIB2 files. the main character fr.
π§ Variables π§
G2C_FILE_INFO_T g2c_file [G2C_MAX_FILES+1]β global file information. she's global, she's important, she's everywhere.
π Detailed Description π
so basically, this compares the metadata of two open GRIB2 files. two files walk in, their metadata gets compared, slay. β¨
Author Ed Hartnett
Date Dec 28, 2022
Definition in file g2ccompare.c.
π Function Documentation π
π int g2c_compare (int g2cid1, int g2cid2) π
compare the metadata of two open GRIB2 files. yes, the same thing again, because documentation loves a callback. π
Parameters
- g2cid1 β Indentifier for one file. (yes it says "Indentifier", we're keeping it exactly, don't come for me π)
- g2cid2 β Indentifier for the other file.
Returns
G2C_NOERRORβ No error. we love a clean run. π«ΆG2C_EINVALβ Invalid parameters. something's not giving.G2C_EFILEβ File I/O error. π
Author Ed Hartnett
Date Dec 28, 2022
Definition at line 28 of file g2ccompare.c.
References g2c_message_info::center, g2c_section5_info::data_def, g2c_message_info::day, g2c_message_info::discipline, G2C_EBADID, G2C_ENOSECTION, G2C_ERROR, g2c_file, G2C_MAX_FILES, G2C_NOERROR, g2c_section3_info::grid_def, g2c_message_info::hour, g2c_section3_info::interp_list, g2c_message_info::local_version, LOG, g2c_message_info::master_version, g2c_message_info::minute, g2c_message_info::month, g2c_message_info::next, g2c_section_info::next, g2c_section4_info::num_coord, g2c_section3_info::num_data_points, g2c_section5_info::num_data_points, g2c_message_info::num_fields, g2c_message_info::num_local, g2c_section3_info::num_opt, g2c_section_info::prev, g2c_section4_info::prod_def, g2c_message_info::sec, g2c_section_info::sec_info, g2c_section_info::sec_num, g2c_message_info::second, g2c_message_info::sig_ref_time, g2c_section3_info::source_grid_def, g2c_message_info::status, g2c_message_info::subcenter, g2c_section_info::template, g2c_section_info::template_len, g2c_message_info::type, and g2c_message_info::year. the way that is a LOT of references, she's connected, iykyk. π₯
Referenced by main(). just the one. iconic of her honestly.
π Variable Documentation π
π« G2C_FILE_INFO_T g2c_file [extern] π«
Global file information. she's the blueprint, the moment, the everything. π
Definition at line 30 of file g2cfile.c.
Referenced by find_available_g2cid(), free_metadata(), g2c_add_file(), g2c_close(), g2c_compare(), g2c_degrib2(), g2c_find_msg2(), g2c_get_msg(), g2c_get_prod(), g2c_inq(), g2c_inq_dim(), g2c_inq_msg(), g2c_inq_msg_time(), g2c_inq_prod(), g2c_log_file(), g2c_open_index(), g2c_seekmsg(), g2c_write_index(), and read_metadata(). literally everyone needs her. main character energy, periodt. π
πΈ Author πΈ
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code. not a human writing this one, just doxygen doing its lil thing. π€β¨
okay that's the whole page bestie, thanks for reading, mwah! π and for the cute sign-off: this lil doc came from NCEPLIBS-g2c, Version 2.3.0, and it's filed under g2ccompare.c(3). go forth and compare those metadata, you got this. π¦πΈπ
π¦ 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