[Thread Prev][Thread Next][Index]

Re:



Hi Rong,
The code for reading descriptor files is older code, which is very
particular about the formatting in these attributes.  You need two
blank spaces in front of the letters

MC and 1A in the lines
  D_TYPE         = ' MC',
  D_FORMAT       = ' 1A',

We will note this in the documentation, and also will look into changing
Ferret so that the next version could recognize the text with one space,
or no spaces.

Ansley Manke

Rong wrote:

> Hi,Ferreters
>
> I'm tring to create a MC descriptor file for several model out data files,but when I open
> the MC file by entering:
>
> yes?set data model.mc
>
> Ferret inform that:
>
> **TMAP ERR: unrecognized data type in FORMAT_RECORD
>              Type declared MC
>              Data set: ./model.mc
>
> It seems that there is some problem with the D_TYPE.My MC descriptor file is given below.Any suggestions? Thanks in advance!
>
>  $FORMAT_RECORD
>   D_TYPE         = ' MC',
>   D_FORMAT       = ' 1A',
>   D_SOURCE_CLASS = 'MODEL OUTPUT',
>  $END
>
>  $BACKGROUND_RECORD
>   D_EXPNUM = '0063',
>   D_MODNUM = ' AA',
>   D_TITLE = 'MOM model output',
>   D_T0TIME = '01-FEB-2291 09:17:00',
>   D_TIME_UNIT = 3600.0,
>   D_TIME_MODULO = .FALSE.,
>   D_ADD_PARM = 15*' ',
>  $END
>
>  $MESSAGE_RECORD
>   D_MESSAGE = ' ',
>   D_ALERT_ON_OPEN = F,
>   D_ALERT_ON_OUTPUT = F,
>  $END
> *************************************************
>  $EXTRA_RECORD
>  $END
>
>  $STEPFILE_RECORD
>   s_filename = '../TEMP_DIR/time_mean.dta.nc.001',
>   S_AUX_SET_NUM = 0,
>   S_START = 340.1,
>   S_END = 341.0,
>   S_DELTA = 12,
>   S_NUM_OF_FILES = 9,
>   S_REGVARFLAG = ' ',
>  $END
> **************************************************
>  $STEPFILE_RECORD
>   s_filename = '**END OF STEPFILES**'
>  $END
> **************************************************
>
> Rong
> 2003-04-02
> ___________________________________________________________________________
>
>            \\\|///                           Rong Xinyao
>           \\ - - //                          Dept.of Atmospheric Sciences
>            ( @ @ )                           Nanjing University
> --------oOOo-(_)-oOOo---------
>                                              No.22 Hankou Road
>    http://www.nju.edu.cn                     Nanjing 210093, P.R.China
>                0ooo                          E-mail: rongur@163.net
> -------- oooO--(   )----------
>         (   )   ) /
>          \ (   (_/
>           \_)
>
>   ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>              Name: bb.gif
>    bb.gif    Type: GIF Image (image/gif)
>          Encoding: base64

--
Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246





[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement