1 2#------------------------------------------------------------------------------ 3# $File: meteorological,v 1.6 2024/11/10 17:05:08 christos Exp $ 4# rinex: file(1) magic for RINEX files 5# http://igscb.jpl.nasa.gov/igscb/data/format/rinex210.txt 6# ftp://cddis.gsfc.nasa.gov/pub/reports/formats/rinex300.pdf 7# data for testing: ftp://cddis.gsfc.nasa.gov/pub/gps/data 860 string RINEX 9>80 search/256 XXRINEXB RINEX Data, GEO SBAS Broadcast 10>>&32 string x \b, date %15.15s 11>>5 string x \b, version %6.6s 12!:mime rinex/broadcast 13>80 search/256 XXRINEXD RINEX Data, Observation (Hatanaka comp) 14>>&32 string x \b, date %15.15s 15>>5 string x \b, version %6.6s 16!:mime rinex/observation 17>80 search/256 XXRINEXC RINEX Data, Clock 18>>&32 string x \b, date %15.15s 19>>5 string x \b, version %6.6s 20!:mime rinex/clock 21>80 search/256 XXRINEXH RINEX Data, GEO SBAS Navigation 22>>&32 string x \b, date %15.15s 23>>5 string x \b, version %6.6s 24!:mime rinex/navigation 25>80 search/256 XXRINEXG RINEX Data, GLONASS Navigation 26>>&32 string x \b, date %15.15s 27>>5 string x \b, version %6.6s 28!:mime rinex/navigation 29>80 search/256 XXRINEXL RINEX Data, Galileo Navigation 30>>&32 string x \b, date %15.15s 31>>5 string x \b, version %6.6s 32!:mime rinex/navigation 33>80 search/256 XXRINEXM RINEX Data, Meteorological 34>>&32 string x \b, date %15.15s 35>>5 string x \b, version %6.6s 36!:mime rinex/meteorological 37>80 search/256 XXRINEXN RINEX Data, Navigation 38>>&32 string x \b, date %15.15s 39>>5 string x \b, version %6.6s 40!:mime rinex/navigation 41>80 search/256 XXRINEXO RINEX Data, Observation 42>>&32 string x \b, date %15.15s 43>>5 string x \b, version %6.6s 44!:mime rinex/observation 45 46# https://en.wikipedia.org/wiki/GRIB 47# https://www.iana.org/assignments/media-types/application/grib 480 string GRIB 49>7 byte =1 Gridded binary (GRIB) version 1 50!:mime application/grib;edition=1 51!:ext grb/grib 52>7 byte =2 Gridded binary (GRIB) version 2 53!:mime application/grib;edition=2 54!:ext grb2/grib2 55 56# BUFR is a meteorological data format for storing point or time series data. 57# https://www.iana.org/assignments/media-types/application/bufr 580 string BUFR 59>7 byte =3 Binary Universal Form data (BUFR) Edition 3 60!:mime application/bufr 61!:ext bufr 62>7 byte =4 Binary Universal Form data (BUFR) Edition 4 63!:mime application/bufr 64!:ext bufr 65