[Thread Prev][Thread Next][Index]

Re: how to use MC files



In looking a bit closer at your original descriptor, I noticed a few errors:

    1.  There was no MESSAGE_RECORD namelist entry
    2.  There was no EXTRA_RECORD namelist entry
    3.  You had S_NUM_FILES instead of S_NUM_OF_FILES in the STEPFILE_RECORD
    4.   As mentioned earlier, the FORMAT_RECORD delimiters were incorrect.

I've attached a linuxized descriptor which should work, and from which you should be able to base any other descriptors on.

Let me know if you still have any problems.

Kevin
   

Boyin Huang wrote:
Dear Kevin:

Thank you for your replying. But I still face the same
error after I applying "linuxize_descriptors".

The namelist file become the following after "

linuxize_descriptors":

--------------------------------
# multi-cdf file descriptor: gfdl_new

 &FORMAT_RECORD
  D_TYPE   = '  MC',
  D_FORMAT = '  1A',
 /
---------------------------------

Do you have any further suggestions? 

The call command:
use gfdl_new

The error message:
 **TMAP ERR: Error in namelist record
             Error in: FORMAT_RECORD; or file not
descriptor file
             Data set: ./gfdl_n.des



By the way, using all these namelist format, I wrote a
fortran code reading this namelist parameters, it work
either in f77 compiler or pgf90 compiler.


Thanks a lot


Boyin


--- Kevin O'Brien <Kevin.M.O'Brien@noaa.gov> wrote:
  
There are two possible solutions.  First off I
notice that your FORMAT 
RECORD is delimited using the "&" character, rather
than the $ character 
as the other namelist delimiters are.  So, it should
look like

 $FORMAT_RECORD
  D_TYPE   = '  MC',
  D_FORMAT = '  1A',
 $END


If, on the other hand, you are running Ferret on a
linux system, then 
the namelist format is a bit different.  For the
answer to that see the 
FAQ at:

   

    
http://ferret.wrc.noaa.gov/Ferret/FAQ/system/linux_mc_descriptors.html
  
Cheers -

Kevin

Boyin Huang wrote:

    
How to use multi-cdf files?

I am getting error message:

**TMAP ERR: Error in namelist record
            Error in: FORMAT_RECORD; or file not
descriptor file
            Data set: ./gfdl.des
SET DAT/FORM=CDF gfdl


I am using following files named "gfdl.des" (I also
tried '$' and '$end' in the namelist, but the same
error appears):

---------------------------------------------------
# multi-cdf file descriptor

&FORMAT_RECORD
 D_TYPE   = '  MC',
 D_FORMAT = '  1A',
&

$BACKGROUND_RECORD
 D_TITLE       = 'GFDL SSH',
 D_T0TIME      = '1-JAN-1600',
 D_TIME_UNIT   = 2592000.,
 D_CALTYPE     = '360_DAY',
$END

$STEPFILE_RECORD
 S_FILENAME    =
'/indus_02/byh/zos/zos_gfdl-c96a_con_1600_1609.nc',
 S_START       = 1.,
 S_END         = 120.,
 S_DELTA       = 1.,
 S_NUM_FILES   = 1,
$END

$STEPFILE_RECORD
 S_FILENAME    =
'/indus_02/byh/zos/zos_gfdl-c96a_con_1610_1619.nc',
 S_START       = 121.,
 S_END         = 240.,
 S_DELTA       = 1.,
 S_NUM_FILES   = 1,
$END

$STEPFILE_RECORD
 S_FILENAME    = '**END OF STEPFILES**'
$END
      
----------------------------------------------------
    
=====
Boyin Huang
The Center for Research on the Changing Earth
      
System (CRCES)
    
10211 Wincopin Circle, Suite 240
Columbia, Maryland 21044
Tel. 410-992-5300/819 (O), 410-737-4557(H)
Fax. 410-992-5944, Email. byh@crces.org
http://byh.crces.org

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site
      
design software
    
http://sitebuilder.yahoo.com
 

      
-- 
Kevin O'Brien                   UW/JISAO	
Research Scientist              NOAA/PMEL/TMAP
206-526-6751                   
http://tmap.pmel.noaa.gov



    


=====
Boyin Huang
The Center for Research on the Changing Earth System (CRCES)
10211 Wincopin Circle, Suite 240
Columbia, Maryland 21044
Tel. 410-992-5300/819 (O), 410-737-4557(H)
Fax. 410-992-5944, Email. byh@crces.org
http://byh.crces.org

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
  

-- 
Kevin O'Brien                   UW/JISAO	
Research Scientist              NOAA/PMEL/TMAP
206-526-6751                    http://tmap.pmel.noaa.gov

 &FORMAT_RECORD
  D_TYPE   = '  MC',
  D_FORMAT = '  1A',
 /
 &BACKGROUND_RECORD
  D_TITLE       = 'GFDL SSH',
  D_T0TIME      = '1-JAN-1600',
  D_TIME_UNIT   = 2592000.,
  D_CALTYPE     = '360_DAY',
 /
 &MESSAGE_RECORD
 /
 &EXTRA_RECORD
 /
 &STEPFILE_RECORD
  S_FILENAME    = '/indus_02/byh/zos/zos_gfdl-c96a_con_1600_1609.nc',
  S_START       = 1,
  S_END  = 120,
  S_DELTA       = 1,
  S_NUM_OF_FILES   = 1,
 /
 &STEPFILE_RECORD
  S_FILENAME    = '/indus_02/byh/zos/zos_gfdl-c96a_con_1610_1619.nc',
  S_START       = 121.,
  S_END  = 240.,
  S_DELTA       = 1.,
  S_NUM_OF_FILES   = 1,
 /
 &STEPFILE_RECORD
  S_FILENAME    = '**END OF STEPFILES**'
 /

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement