{"success":true,"data":{"ext":"cdl","name":"NetCDF","description":"NetCDF (Network Common Data Form) is a data format developed and maintained by Unidata, part of the University Corporation for Atmospheric Research (UCAR). It is used to store and share array-oriented scientific data in fields such as meteorology, oceanography, climate research, and geoscience, often alongside analysis and visualization tools. The format is generally considered safe, though files may be large or malformed and should be handled carefully by applications that parse external data.","mime":[],"risk_level":"Safe","signatures":[{"hex":"6E 65 74 63 64 66 20","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_cdl(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CDL by magic bytes.\"\"\"\n    signature = bytes([0x6E, 0x65, 0x74, 0x63, 0x64, 0x66, 0x20])\n    with open(file_path, \"rb\") as f:\n        return f.read(7) == signature","node":"function isCDL(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x6E, 0x65, 0x74, 0x63, 0x64, 0x66, 0x20]);\n  return buffer.subarray(0, 7).equals(signature);\n}","go":"func IsCDL(data []byte) bool {\n    signature := []byte{0x6E, 0x65, 0x74, 0x63, 0x64, 0x66, 0x20}\n    if len(data) < 7 {\n        return false\n    }\n    return bytes.Equal(data[:7], signature)\n}"}}}