pytroll / pytroll-aapp-runner

Pytroll runner for AAPP
http://pytroll-aapp-runner.readthedocs.io/en/develop/
GNU General Public License v3.0
1 stars 8 forks source link

TLE files with names like "tle-yyyymmddHHMM" does not work #2

Open adybbroe opened 6 years ago

adybbroe commented 6 years ago

Testing with tle files following the naming pattern tle-yyyymmddHHMM doesn't seem to work. Maybe untested. Had to introduce a try-except around the part where the regex pattern is tested.

I suggest using trollsift exclusively and use the config file to specify the file patters that shall be supported.

Code is overly complicated in my opinion as it is.

adybbroe commented 6 years ago

Even with a try-except as indicated above, the archiving is not correct:

safusr.u@lxserv1096$ll /san1/aapp/tle-archive/tle_db/
total 4
drwxr-xr-x. 2 safusr.u safusrgu   33 May 27 14:35 2024_08
drwxrwxr-x. 2 safusr.u safusrgu 4096 May 27 14:35 2018_05
drwxr-xr-x. 2 safusr.u safusrgu   33 May 27 14:35 2024_07
drwxr-xr-x. 2 safusr.u safusrgu   33 May 27 14:35 2024_06
gerritholl commented 3 years ago

Related: #10

gerritholl commented 3 years ago

Can you check this behaviour with #11 ?