Freeform not trigger..

Denis Nadeau denis.nadeau at gmail.com
Mon Apr 30 13:33:49 PDT 2007


Patrick,

I found out that I needed to put the following line in my ".bin.fmt"
and with Nathan Catalog TypeMatch declaration in my bes.conf file
everything worked fine.

file: .bin.fmt
input_eqv
begin constant
       data_byte_order text big_endian
end constant

binary_input_data "TRMM 3B42 DAILY"
data 1 4 array ["rows" 1 to 400] ["cols" 1 to 1440]of float32 0

Best Regards,
Denis
2007/4/30, Patrick West <mrpatrickwest at gmail.com>:
> It would be interesting to see what the Include and Exclude parameters
> are set to. The default setting is to ignore all dot files.
>
> Patrick
>
> Nathan Potter wrote:
> > Denis,
> >
> > Some how the file name is not matching the regular expression for the
> > freeform handler in catalog TypeMatch declaration in your bes.conf file.
> >
> > Mine is set like this:
> >
> > BES.Catalog.catalog.TypeMatch=ff:.*.dat(.bz2|.gz|.Z)?$;h4:.*.(hdf|HDF|eos)(.bz2|.gz|.Z)?$;nc:.*.nc(.bz2|.gz|.Z)?$;
> >
> >
> >
> > So freeform is:
> >
> > ff:.*.dat(.bz2|.gz|.Z)?$
> >
> > In the above example.
> >
> >
> >
> > On Apr 27, 2007, at 8:26 AM, Denis Nadeau wrote:
> >
> >> Guys,
> >>
> >> I have setup a filed called .bin.dat with the following information.
> >>
> >>
> >> When I click on the file the freeform handler is not triggered,  but
> >> when I try to use the bescmdln manually I can get to the data (by
> >> setting ff).
> >> It seems that show info on the file set IsData to false.
> >>
> >> Any clue why IsData returns false?
> >>
> >> Here is my BES output.
> >>
> >> Best.
> >> Denis
> >>
> >> BESClient> show info for
> >> "/TRMM_L3/TRMM_3B42_daily/2004/162/3B42_daily.2004.06.11.6.bin";
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <showInfo>
> >>     <response>
> >>         <dataset isData="false" thredds_collection="false">
> >>
> >> <name>/TRMM_L3/TRMM_3B42_daily/2004/162/3B42_daily.2004.06.11.6.bin</name>
> >>
> >>             <size>2304000</size>
> >>             <lastmodified>
> >>                 <date>2006-09-19</date>
> >>                 <time>18:27:45</time>
> >>             </lastmodified>
> >>         </dataset>
> >>     </response>
> >> </showInfo>
> >> BESClient> set container in catalog values
> >> s,/TRMM_L3/TRMM_3B42_daily/2004/162/3B42_daily.2004.06.11.6.bin,ff;
> >> BESClient> define d1 as s;
> >> BESClient> get dds for d1;
> >> Dataset {
> >>     Float32 data[rows = 1440][cols = 400];
> >> } 3B42_daily.2004.06.11.6.bin;
> >> BESClient>
> >> BESClient> get das for d1;
> >> Attributes {
> >>     FF_GLOBAL {
> >>         String Server "DODS FreeFrom based on FFND release 4.2.3";
> >>     }
> >>     data {
> >>     }
> >> }
> >> BESClient>
> >>
> >> --Denis Nadeau
> >> Goddard Earth Sciences Data & Information Services Center
> >> Code 610.2
> >> NASA Goddard Space Flight Center, Greenbelt, MD 20771
> >> Phone: (301) 614-5514
> >> Fax:   (301) 614-5268
> >> email: dnadeau at pop600.gsfc.nasa.gov
> >> http://disc.gsfc.nasa.gov
> >> http://giovanni.gsfc.nasa.gov
> >>
> >>
> >
> > = 
> > Nathan Potter                        ndp at opendap.org
> > OPeNDAP, Inc.                        541.752.1852
> >
> >
> >
> >
>
>



More information about the Opendap-tech mailing list