Date
1 - 5 of 5
SPS 4.1
Douglas Deans
Hello Ernst,
Nice to get back to SPS work again. Making excellent progress with SPS but what seems to be a simple issue has stumped me despite much effort. At the moment a particular MSG-4 set up is saved in the 'images ' folder rather the 'frames' folder and so cannot be animated using webm.cmd (as far as I can see). Where does the option exist to save it to the 'frames' folder for MSG4 under 'Products. I assume it is somewhere in the cron.cmd code ? Hope I have explained that well enough. Regards, Douglas. |
|
Ernst Lobsiger
Douglas,
you certainly (?) remember how to save in products/images or products/folders (using appropriate keyword arguments at the end of the script). If this is the question I tried to explain that already: https://groups.io/g/MSG-1/message/33608 I usually save specially prepared "movie areas" in products/frames (normally images <= 1080 high for FullHD resolution). I save higher resolution images in products/images (e.g. 2km resolution full disk GOES images). But if you have made a series of such big/huge images you can still animate them. There is one such example: In webm.cmd normally there is a 0 at the end of a call and frames are taken from /products/frames. If you put a 1 at the end frames are taken from /products/images and dynamically reduced to height 1080. See caribbean movies where the saved images are height=1793 width=2783 according to areas.yaml. But with the 1 at the end ffmpeg will on the fly reduce the caribbean movie to height=1080 and width accordingly. ... call :MAKEWEBM GOES16 overview-goes_ef_rss %today% 0 call :MAKEWEBM GOES16 true_color_with_night_ir_hires-caribbean %today% 1 ... What is your particular MSG4 setup? Have you defined your own area for this? Regards, Ernst |
|
Douglas Deans
On 20/12/2022 22:09, Ernst Lobsiger via groups.io wrote:
Douglas,============================================================================================= Thanks Ernst. Ah the 0 or 1 at the end of a call. That's what I missed. All working fine now. I fact it is a MSG4 westminster set up in cron.cmd for every 15 minutes. I have been experimenting quite a bit and usually eventually get there, resulting in huge jumps up the learning curve. Age however is now really hindering my memory which slows things down a bit ..... or just stops me !! Appreciate your help. Kind regards. Douglas. |
|
Ernst Lobsiger
On Tue, Dec 20, 2022 at 02:35 PM, Douglas Deans wrote:
I have been experimenting quite a bit and usually eventually get there, resulting in huge jumps up the learning curve.Douglas, Nice to see your progress. And MSG3 is now back with 5 minute rss as well ;-) ! I admit that SPS 4.1 also asks for more than just basic CMD script knowledge. IIRC I have improved documentation :: comments in webm.cmd 4.1. The 1 at the end of the call is referenced as %4 (fourth parameter) in subroutine :MAKEWEBM ... call :MAKEWEBM MSG4 airmass-msg_fes_rss %today% 1 ... :: Parameters: Sat (short name), composite-area, date (YYYYmmdd), reduce (0 or 1) :MAKEWEBM ... : That's where the frames come from ... if %4==1 SET fradir=%prodir%\%1\images ... IF %4==1 GOTO :filter ... :filter %ffmpeg% -y -r 6 -i %tmpdir%\%2-%%04d.jpg -filter:v "scale=w=-1:h=1080" -c:v libvpx -pix_fmt yuv420p -crf 20 -b:v 2M %mfn% ... Users with huge 4K monitors will want area westminster (2048x2048 pixels) as is and not scaled down to 1080x1080 in webm movies. They can put "small" areas like westminster in \frames and adapt for \images "scale=w=-1:h=2160". But of course ffmpeg will have to work much harder for high resolution frames. Cheers, Ernst |
|
Ernst Lobsiger
On Wed, Dec 21, 2022 at 12:04 AM, Ernst Lobsiger wrote:
And MSG3 is now back with 5 minute rss as well ;-) !Ooops, RSS is down again! I just managed to make a preliminary MSG3 timeliness plot that is missing in SPS 4.1. This includes as usual up to 1 minute that that the files stay on my RAM disk before being moved to HDD. Ernst ![]() |
|