close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Closed 16 years ago

#702 closed enhancement (fixed)

Reading a geodesic matrix from GRIB text files

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: highest Milestone: Mantainance
Component: Math Version: 1.1.7
Severity: blocker Keywords:
Cc:

Description (last modified by Víctor de Buen Remiro)

It should vave a fast way to read some standard scientific formats as GRIB

Change History (1)

comment:1 Changed 16 years ago by Víctor de Buen Remiro

Description: modified (diff)
Resolution: fixed
Status: newclosed

Added an optional argument to allow other formats in MatReadFile

Matrix MatReadFile(Text filename [, Text format="BINARY"])} {} 

Reads a matrix from a file in the specified format:
BINARY: Standard TOL binary format
WGRIB2TXT: Result of command wgrib2 ... -text file
 cols rows
 datum[1,1]
 datum[1,2]
 ...
 datum[rows,cols]

View more on en http://www.cpc.noaa.gov/products/wesley/wgrib2

Note: See TracTickets for help on using tickets.