McIDAS User's Guide
Version 2010.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


MDU

MD file utility.


Formats

MDU COPY sfile dfile
MDU DEL bfile efile
MDU DIR file id "comments
MDU LIST bfile efile [keyword]
MDU MAKE file schema version nrows ncols id "comments
MDU SET file


Parameters

COPY

copies the contents of the MD file

DEL

deletes an MD file

DIR

changes a file identification number and comments

LIST

lists the file directory headers

MAKE

makes a new MD file

SET

sets the current MD file number

sfile

source MD file number

dfile

destination MD file number

bfile

beginning MD file number

efile

ending MD file number (default=bfile)

file

MD file number

id

identification number, YYDDD (default=0 if used with the MAKE option; default=current ID if used with the DIR option)

"comments

comments added to the file; the double quote is mandatory

schema

MD file schema name, for example, IRAB, ISFC

version

schema version number; use X for schema defaults

nrows

number of rows; use X for schema defaults

ncols

number of columns; use X for schema defaults


Keyword

DAY=

Julian day to list, YYDDD


Remarks

Before using the MAKE option, be sure the schema type is registered on your workstation. See commands LSCHE and SCHE for more information. Also see Registering MD File Schemas.

You can use the ADDE command PTLIST in place of MDU LIST,
and the ADDE command PTCOPY in place of MDU COPY.

Examples

MDU COPY 1 10

This entry copies MD file 1 into MD file 10.

MDU DEL 2 6

This entry deletes MD files 2 through 6.

MDU DIR 1 97290 "SHIP AND BUOY DATA

This entry changes the directory of MD file 1 so the ID is 97290 and the comment is SHIP AND BUOY DATA.

MDU LIST 1 40

This entry lists the MD file directory headers from MD files 1 to 40.

MDU MAKE 1 ISHP 3 X X 97300 "SHIP DATA

This entry creates MD file 1 of schema ISHP, version 3. It uses row and column defaults. The ID is 97300, labeled SHIP DATA.

MDU SET 5

This entry sets the current MD file number to 5. All subsequent MD file commands are performed on MD file 5.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]