Search found 25 matches

by _unknown_
02 Dec 2014 02:13
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: Stitch images using gdal command utility

The only thing needed is how will I merge/process the files in a series based on their date? Whenever the system is down and you weren't able to process the files let's say for one week, it will check for the last date where it stop and process it and then process the next date and process the next...
by _unknown_
01 Dec 2014 23:56
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

The Batch file below is the new version that have the following modifications: ⋅ Only process files when a YearDay have more than 3 files. ⋅ Processed files will be moved to a different directory. @echo off setlocal EnableDelayedExpansion rem Modify following variables set "...
by _unknown_
27 Nov 2014 01:54
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

What is the purpose of the command below in the script? set numFiles=0, set /A numFiles+=1 set "fileList=!fileList:~0,-1!" set numFiles=1 set "fileList=!fileList:~0,-1!" move !fileList: =,! "%proc_path%" Because when I did some modification it says "The syntax of ...
by _unknown_
26 Nov 2014 03:20
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

What is the purpose of the command below in the script? set numFiles=0, set /A numFiles+=1 set "fileList=!fileList:~0,-1!" set numFiles=1 set "fileList=!fileList:~0,-1!" move !fileList: =,! "%proc_path%" Because when I did some modification it says "The syntax of t...
by _unknown_
20 Nov 2014 23:14
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

Squashman wrote:
Really.

You think you are going to get your "Julian Day" from this code below. You might want to test that code.


I apologize squashman.
by _unknown_
20 Nov 2014 21:51
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

you must still provide the format of the date in your computer (echo %date%) and the formula that will be used to convert the YYYY/MM/DD into the YEARDAY used in the files Date in my computer = Fri 11/21/2014 As what squashman stated here is the formula to convert calendar date to ordinal date: @ec...
by _unknown_
20 Nov 2014 20:54
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

Squashman wrote:I also think the O/P confused Julian date with Ordinal date. Had been trying to help them with a similar batch file on ComputerHope.com.



We are referring to this:

Julian Day Calendar
by _unknown_
20 Nov 2014 20:47
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

Before this post ends, I want to note that previous programs are capable of solve your problem as long as the processed files be moved into a different directory. This is, in my opinion, a very simple requirement... Antonio It's okay, I'm sorry for bothering you so much. I just really need help. An...
by _unknown_
18 Nov 2014 23:37
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

I have provided the format date of my computer and a formula for conversion. I'm just not sure if that's the right formula. What would happen next? :(
by _unknown_
12 Nov 2014 02:27
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

The Batch file below is the new version that have the following modifications: ⋅ Only process files when a YearDay have more than 3 files. ⋅ Processed files will be moved to a different directory. I'm sorry for this. I have decided to remove the first modification which is "...
by _unknown_
07 Nov 2014 00:02
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

I am lost on your explanations! I don't understand the "1,2 or 3 images" thing. You are talking about "meet the requirements which is 4 to 5 images" as something previously stated, but it was not! If you want that the program merge files only when the number of files in the list...
by _unknown_
06 Nov 2014 03:24
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

Here is the result of the batch file(without the ECHO commands) which run successfully with an output/merged images in the output directory. C:\path\local\desktop>merge.bat 0...10...20...30...40...50...60...70...80...90...100 - done. 0...10...20...30...40...50...60...70...80...90...100 - done. 0...1...
by _unknown_
06 Nov 2014 03:05
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: Stitch images using gdal command utility

:arrow:
Aacini wrote:If you want to request some modifications in this solution please list the file names in the input_directory, the results displayed by previous program with those files (with the ECHO commands), and clearly describe the changes you want.

Antonio
:!:
by _unknown_
04 Nov 2014 02:57
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

However I want to request some modifications in your solution: *From what I've originally posted, I mentioned that I want the output(merged files) file name to be T2010234 from this T2010232050000.L2_LAC.Tera.tif. Where the character after the T/Year/Julian was removed. I want it to be modified in ...
by _unknown_
02 Nov 2014 21:51
Forum: DOS Batch Forum
Topic: Stitch images using gdal command utility
Replies: 43
Views: 33724

Re: How to merge images per day using gdalmerge and cmd(.bat

@Aacini, sorry if I stated my problem unclear and not in detailed. I've tried your script(with @squashman's help) and then the output was: *I was able to run the .bat from anywhere in the directory *It successfullly merged the files from the in_path *It successfully created another directory for the...