{"success":true,"data":{"ext":"grb1","name":"GRB1","description":"GRB1 is a binary meteorological data format associated with the GRIB1 specification, which is defined and maintained by the World Meteorological Organization and related forecasting standards bodies. It is used to store and exchange gridded weather data such as temperature, wind, pressure, and precipitation in forecasting systems and climate applications. The format is generally safe, though, like other data files, it should be handled with validated parsers to avoid malformed-input issues.","mime":["application/x-grib"],"risk_level":"Safe","signatures":[{"hex":"47 52 49 42","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["grb","grb2","grib","grib2"],"usage":{"python":"def is_grb1(file_path: str) -> bool:\n    \"\"\"Check if file is a valid GRB1 by magic bytes.\"\"\"\n    signature = bytes([0x47, 0x52, 0x49, 0x42])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isGRB1(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x47, 0x52, 0x49, 0x42]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsGRB1(data []byte) bool {\n    signature := []byte{0x47, 0x52, 0x49, 0x42}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}