I am working with simulation models trying to carrying out some predictions in ocean waves and this stuff. (MITgcm)

I am able to run the program and generate hundreds of .data and .meta files, but i don't know how to visualize them.

I think it is possible to read and visualize it using Mathematica or Python, but i really don't know how to do it.

Documentation says:

"Each variable is associated with two files with suffix names .data and .meta. The .data file contains the data written in binary form (big endian by default). The .meta file is a “header” file that contains information about the size and the structure of the .data file. This way of organizing the output is particularly useful when running multi-processors calculations."


closed as off-topic by m_goldberg, Dr. belisarius, MarcoB, user9660, Yves Klett Feb 11 '16 at 6:33

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – m_goldberg, MarcoB, Community
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ What is the format of your data? What are the desired visuals? I would encourage you to visit Mathematica documentation center. It is probably THE best documentation in the world. To start you off look at Import function and perhaps this link for vizualization: reference.wolfram.com/language/guide/DataVisualization.html $\endgroup$ – e.doroskevic Feb 10 '16 at 20:20
  • 1
    $\begingroup$ Perhaps as importantly, could you give us a sample of the data you are analyzing in your question? What would you like Mathematica to do with your data? Simply "show" it somehow? Do further calculations and visualize those results? $\endgroup$ – MarcoB Feb 10 '16 at 20:21
  • $\begingroup$ According to this the MITgcm .data files contain binary data. You can read them with BinaryRead, though you will need to understand the file format to interpret the data properly. According to that link there are matlab scripts included with MITgcm which read the output files. You could examine those scripts and write a Mathematica version. $\endgroup$ – Simon Woods Feb 10 '16 at 20:38


A.1 - When loaded, data is in a form of List of List with a single entry in ea. nested List.

Simple example:

(*First import some arbitrary data*)
Flatten @ Import @ "C:\\Users\\-e\\Documents\\data.data"


{123421, 562341, 784234, 673477}

Function Flatten in the above example reduces the List of List data structure to List only.

(*Visualize data*)
ListPlot @ %


simple output example


@ % etc.


Import and Export Files
Data Visualization
List Manipulation


Not the answer you're looking for? Browse other questions tagged or ask your own question.