[ncl-talk] Reading NSIDC sea ice motion binary (.bin format) data

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Jul 27 14:27:18 MDT 2018


Sourav,

According to the user guide on that website, this format is flat binary,
signed 16 bit integers, three grids interleaved.  The three grids are U, V,
and day counts.  You can read this file with the cbinread function.

You may also need the latitudes and longitudes, which are provided in
separate files in their "tools" directory.  These are 4-column text files
which can be read with the asciiread function.  Please try the attached
sample NCL script, which reads both kinds of files.

Please see the first section "Daily Gridded and Mean Gridded Files" in
their user guide.  After reading the raw data and coordinate files, you
will need to apply a scale factor to U and V, as they describe.  You should
also convert U and V from integer to float at the same time, to avoid loss
of precision.  Depending on your application, you might also need to use
the day counts grid to make a data mask.

When making plots, you will need to apply the latitudes and longitudes as
2-D coordinates, as described in other examples on the NCL website.

--Dave


*From: *Sourav Chatterjee <srvsxc at outlook.com>
>
> *Date: *Thursday, 26 July 2018 at 4:03 PM
>
>
>
> Dear NCL users
>
>
>
> Can anyone help me out with reading the NSIDC EASE-Grid Sea Ice Motion
> Vectors data (.bin format) in NCL.
>
>
>
> I have not used this format earlier in NCL, so clueless about it. Any help
> is appreciated.
>
>
>
> A sample data is attached. The data format can be found in
> http://nsidc.org/data/nsidc-0116/versions/3
>
> Polar Pathfinder Daily 25 km EASE-Grid Sea Ice Motion Vectors, Version 3 |
> National Snow and Ice Data Center
> <http://nsidc.org/data/nsidc-0116/versions/3>
>
> Polar Pathfinder Daily 25 km EASE-Grid Sea Ice Motion Vectors, Version 3
>
> nsidc.org
>
>
>
> Thanks in advance
>
> Sourav
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180727/41d9058c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read.ice-motion.ncl
Type: application/octet-stream
Size: 1218 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180727/41d9058c/attachment.obj>


More information about the ncl-talk mailing list