From 27b27d104baa657a28b4df4595e148316ff6f6a4 Mon Sep 17 00:00:00 2001 From: Gerald Klinkl <gerald.klinkl@ctbto.org> Date: Thu, 13 Oct 2016 11:45:50 +0000 Subject: [PATCH] Add magic pattern file for pre-processed Flexpart input files --- utils/READ.ME | 10 ++++++++++ utils/magic.flexpart | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 utils/READ.ME create mode 100644 utils/magic.flexpart diff --git a/utils/READ.ME b/utils/READ.ME new file mode 100644 index 00000000..a73d8204 --- /dev/null +++ b/utils/READ.ME @@ -0,0 +1,10 @@ +============== +magic.flexpart +============== + +Magic pattern file for pre-processed Flexpart input files. See +magic(5) and file(1). Append this file to /etc/magic or run +"file -m ./magic.flexpart <file>". Example: + +file -m ./magic.flexpart /tmp/EN16060521 +/tmp/EN16060521: Flexpart v9.3.1 pre-processed met input file nxmax=721 nymax=361 nuvzmax=138 nwzmax=138 nzmax=138 diff --git a/utils/magic.flexpart b/utils/magic.flexpart new file mode 100644 index 00000000..8515ea17 --- /dev/null +++ b/utils/magic.flexpart @@ -0,0 +1,8 @@ +# Flexpart Pre-Processed Met input file +0 string FP_p- Flexpart +>5 string/7 >\3 v%s pre-processed met input file +>>12 lelong >0 nxmax=%d +>>16 lelong >0 nymax=%d +>>20 lelong >0 nuvzmax=%d +>>24 lelong >0 nwzmax=%d +>>28 lelong >0 nzmax=%d -- GitLab