Ok, here is what I am doing.
1) The downloaded files (14 total) are used on an HTML webpage as map layers. 7 for chlorophyll layers and 7 for sea surface temperature layers based on US coastal regions.
2) These satellite files change daily.
3) I run CRON job to determine the daily new file names via email.
3) I then physically edit the new file name into another CRON job.
4) I then run a daily wGET/ CRON job to download the new files to my server where they are renamed to the referenced file name in the HTML.
If I can predict the file name, I can set up the CRON jobs to run automatically without the need to check my email and then redo do the file name in the WGET command.
CRON Job and changing file name
-
- Subject Matter Expert
- Posts: 138
- Joined: Fri Feb 19, 2021 1:09 pm America/New_York
- Been thanked: 1 time
CRON Job and changing file name
How familiar are you with the binning and mapping processes we offer? It seems like you could bin the L2 files and then generate a single daily map product for each of your regions.
The L2 files vary enough by time that trying to predict them would be difficult. If you downloaded whatever files were indicated by the file_search API call, you could determine the day they belong to, and from there run the binning and mapping processes on the regional groups.
john
The L2 files vary enough by time that trying to predict them would be difficult. If you downloaded whatever files were indicated by the file_search API call, you could determine the day they belong to, and from there run the binning and mapping processes on the regional groups.
john
CRON Job and changing file name
Thanks John, I am not familiar at all with binning, but I'll do some research on it.
At this point, I'm open to anything.
At this point, I'm open to anything.