[File] NetCDF 64bit magic

Rostislav Kouznetsov rostislav.kouznetsov at fmi.fi
Wed May 27 15:28:56 UTC 2020


Hi,

I first crated a pull request, and then saw a warning.
https://github.com/file/file/pull/85

Here is a patch:

From 59bd435e2d4b3812c32fba8b7233a2e9fbf88115 Mon Sep 17 00:00:00 2001
From: Rostislav Kouznetsov <rostoslav.kouznetsov at fmi.fi>
Date: Wed, 27 May 2020 18:20:48 +0300
Subject: [PATCH] Added NetCDF 64bit format

---
 magic/Magdir/images | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/magic/Magdir/images b/magic/Magdir/images
index c3f62f691..4c3b42bb3 100644
--- a/magic/Magdir/images
+++ b/magic/Magdir/images
@@ -1385,6 +1385,8 @@
 # From: Tom Hilinski <tom.hilinski at comcast.net>
 # https://www.unidata.ucar.edu/packages/netcdf/
 0	string	CDF\001			NetCDF Data Format data
+# 64-bit offset netcdf Classic https://www.unidata.ucar.edu/software/netcdf/docs/file_format_specifications
+0	string	CDF\002			NetCDF Data Format data (64-bit offset)

 #-----------------------------------------------------------------------
 # Hierarchical Data Format, used to facilitate scientific data exchange

Thank you!

BR,
Rostislav

-- 
Rostislav Kouznetsov

**************************************
Atmospheric composition unit
Finnish Meteorological Institute
Erik Palménin aukio 1, 00560
(PL-503 FI-00101) 
Helsinki Finland
Phone: +358 29 539 4630
**************************************



More information about the File mailing list