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