Hi,

I have been playing around with push pull for last two days and trying to 
download some data from remote location without success.
I would appreciate if you guys can shed some light on what is going on and why 
isn't push pull find files to download even though its clearly there at remote 
location.

Here is my configuration. I am trying to download  
/pub/OI-daily-v2/NetCDF/2013/AVHRR/avhrr-only-v2.20130326_preliminary.nc.gz 
file from eclipse.ncdc.noaa.gov. It logs-in to the server fine and it lists all 
the files as well. However for some reason it does not match to the rule in 
TEST_AVHRR_ONLY.xml. Not sure what I am doing wrong. I have tried almost all 
combinations and still could not get it to work.

In my /etc/pushpull.properties file, I have types=false so that it downloads 
the file even if its not specified in mime-types.xml file.
org.apache.oodt.cas.pushpull.allow.only.defined.types=false

ExternalSources.xml
<sources>
    <source host="eclipse.ncdc.noaa.gov">
        <login type="ftp" alias="eclipseClass">
            <username>anonymous</username>
            <password>[email protected]</password>
        </login>
    </source>
</sources>

RemoteSpecs.xml
        <daemon alias="eclipseClass" active="yes">
            <runInfo firstRunDateTime="2013-03-25T00:00:00Z" period="1m" 
runOnReboot="yes"/>
            <propInfo dir="[CAS_PP_RESOURCES]/examples/DirStructXmlParserFiles">
                <propFiles regExp="TEST_AVHRR_ONLY\.xml" 
parser="org.apache.oodt.cas.pushpull.filerestrictions.parsers.DirStructXmlParser"/>
            </propInfo>
            <dataInfo stagingArea="AVHRR-ONLY" deleteFromServer="no" 
queryElement="Filename"/>
        </daemon>

TEST_AVHRR_ONLY.xml
<root>
    <dirstruct starting_path="/pub/OI-daily-v2/NetCDF/2013/AVHRR">
        <nodirs/>
        <!-- <file name="avhrr\-only\-v2\.20130326_preliminary\.nc\.gz"/> -->
        <file name="avhrr-only-v2.20130326_preliminary.nc.gz"/>
    </dirstruct>
</root>


Regards
--
Chintu Mistry
NASA Goddard Space Flight Center
Bldg L40B, Room S776
Office: 240 684 0477
Mobile: 770 310 1047

Reply via email to