Problem extracting URL

Discuss RoboTask here
Post Reply
Micha
Posts: 7
Joined: Fri Feb 15, 2019 9:50 am

Problem extracting URL

Post by Micha »

Problem: Having URL, getting textresponse from this, extracting Picture-URL an save it to disc.

I have an URL e.g. (allready with Robotask-DateTimeFormat

Code: Select all

https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-t/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=168&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe
This results in a json-text

Code: Select all

{"meta":{"terms-and-conditions":{"href":"https://apps.ecmwf.int/datasets/licences/general/"},"license":"CC-BY-4.0","copyright":"2021 European Centre for Medium-Range Weather Forecasts"},"data":{"link":{"href":"https://charts.ecmwf.int/content/20221022074250-922b4e7c10c3ff63220e3878ac7c5c7057c62189.png","type":"image/png"},"attributes":{"description":"Base time: Mon 17 Oct 2022 Valid time: Mon 17 Oct 2022 - Mon 24 Oct 2022 (+168h) Area : Europe","name":"extended-anomaly-t","title":"Surface temperature: Weekly mean anomalies"},"type":"graphical_product"},"tracker":"tracker-c48168a439b74fd4bf38411751139e80","uid":""}
Now I have to extract the url oft he png-image (here e.g. https://charts.ecmwf.int/content/202210 ... c62189.png) and save it with new filename to disc.

How to solve it with robotask?
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Problem extracting URL

Post by Oleg »

Suppose you save the response in SourceData variable
use the expression

Code: Select all

{json:SourceData.data.link.href}
to extract PNG link
Also look an my small example. Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Also you can simply copy task text and paste it into the task list.
Then you can look at the task in task editor

Code: Select all

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|444033236
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task1502"
Hide=INTEGER|0
ID=INTEGER|-730918599
LogOnAsUser=INTEGER|1
Name=STRING|"extract PNG URL"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER
Action2=FOLDER

[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""SourceData"" with value ""{""meta"":{""terms-and-conditions"":{""href"":""https://apps.ecmwf.int/datasets/licences/general/""},""license"":""CC-BY-4.0"",""copyright"":""2021 European Centre for Medium-..."""
Params=FOLDER

[Actions\Action1\Params]
expand=STRING|"0"
varname=STRING|"SourceData"
varvalue=STRING|"{""meta"":{""terms-and-conditions"":{""href"":""https://apps.ecmwf.int/datasets/licences/general/""},""license"":""CC-BY-4.0"",""copyright"":""2021 European Centre for Medium-Range Weather Forecasts""},""data"":{""link"":{""href"":""https://charts.ecmwf.int/content/20221022074250-922b4e7c10c3ff63220e3878ac7c5c7057c62189.png"",""type"":""image/png""},""attributes"":{""description"":""Base time: Mon 17 Oct 2022 Valid time: Mon 17 Oct 2022 - Mon 24 Oct 2022 (+168h) Area : Europe"",""name"":""extended-anomaly-t"",""title"":""Surface temperature: Weekly mean anomalies""},""type"":""graphical_product""},""tracker"":""tracker-c48168a439b74fd4bf38411751139e80"",""uid"":""""}"

[Actions\Action2]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""{json:SourceData.data.link.href}"""
Params=FOLDER

[Actions\Action2\Params]
icon=STRING|"1"
msg0=STRING|"{json:SourceData.data.link.href}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
>>Read more about JSON prefix here<<
Oleg Yershov
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Problem extracting URL

Post by Oleg »

To save PNG use Download Files action
Oleg Yershov
Micha
Posts: 7
Joined: Fri Feb 15, 2019 9:50 am

Re: Problem extracting URL

Post by Micha »

Thank you Oleg :D

I still had to make it variable, but now it's working. It's a bit tricky, but it works now.
Micha
Posts: 7
Joined: Fri Feb 15, 2019 9:50 am

Re: Problem extracting URL

Post by Micha »

I have another question... my script is working so far, but i want to do it more elegant ;)

At the moment i give Robotask an URL like

Code: Select all

https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-t/?format=png&base_time=2022-10-24T00%3A00%3A00Z&step=168&valid_time=2022-12-05T00%3A00%3A00Z&projection=opencharts_europe
and save the returned code (json) to an external file on disk.

Then i read this external file and store the json to a variable. (as you described)
Then i download the picture (as you described).

Works :D

Is it possible to store the returned json-code directly to a variable? (no tmpdir and no files), only a variable.

I want to do the query without the intermediate step with the external files. (because i have not only one url... alltogether i have 8 urls, but there will be more).
Micha
Posts: 7
Joined: Fri Feb 15, 2019 9:50 am

Re: Problem extracting URL

Post by Micha »

At the moment the task looks like this

Code: Select all

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|494636794
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task112"
Hide=INTEGER|0
ID=INTEGER|-1870147743
LocalVariables=STRING|"TT168URL="
LogOnAsUser=INTEGER|1
Name=STRING|"NEW EZMW Download Dienstag"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER
Action10=FOLDER
Action11=FOLDER
Action12=FOLDER
Action13=FOLDER
Action14=FOLDER
Action15=FOLDER
Action16=FOLDER
Action17=FOLDER
Action18=FOLDER
Action19=FOLDER
Action2=FOLDER
Action20=FOLDER
Action21=FOLDER
Action22=FOLDER
Action23=FOLDER
Action24=FOLDER
Action25=FOLDER
Action26=FOLDER
Action27=FOLDER
Action28=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER

[Actions\Action1]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|0
Name=STRING|"//-------- Temperatur --------"
Params=FOLDER

[Actions\Action1\Params]
comment=STRING|"-------- Temperatur --------"

[Actions\Action10]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 504 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action10\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData504tt.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912482140201478313507"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_ttt_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc3.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action11]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"672 TT -------- Download files and save in ""Y:\json"" --------"
Params=FOLDER

[Actions\Action11\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-2t/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=672&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1345112476135021248112993"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_tt_672.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action12]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_tt_672.json"" (65001)"
Params=FOLDER

[Actions\Action12\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_tt_672.json"
replacenull=STRING|"0"
varname=STRING|"SourceData672tt"

[Actions\Action13]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 672 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action13\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData672tt.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912738142671324514784"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_ttt_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc4.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action14]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|0
Name=STRING|"//-------- Niederschlag --------"
Params=FOLDER

[Actions\Action14\Params]
comment=STRING|"-------- Niederschlag --------"

[Actions\Action15]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"168 RR Download files and save in ""Y:\json"""
Params=FOLDER

[Actions\Action15\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-tp/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=168&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1293912476140131248314015"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_rr_168.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action16]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_rr_168.json"" (65001)"
Params=FOLDER

[Actions\Action16\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_rr_168.json"
replacenull=STRING|"0"
varname=STRING|"SourceData168rr"

[Actions\Action17]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 168 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action17\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData168rr.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912738129951375613756"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_rrr_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc1.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action18]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"336 RR Download files and save in ""Y:\json"""
Params=FOLDER

[Actions\Action18\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-tp/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=336&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1293912476127341298813761"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_rr_336.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action19]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_rr_336.json"" (65001)"
Params=FOLDER

[Actions\Action19\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_rr_336.json"
replacenull=STRING|"0"
varname=STRING|"SourceData336rr"

[Actions\Action2]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"168 TT -------- Download files and save in ""Y:\json"" --------"
Params=FOLDER

[Actions\Action2\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-2t/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=168&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1345112476127341452913247"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_tt_168.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action20]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 336 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action20\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData336rr.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912738147871478213248"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_rrr_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc2.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action21]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"504 RR Download files and save in ""Y:\json"""
Params=FOLDER

[Actions\Action21\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-tp/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=504&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1293912476135021375814530"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_rr_504.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action22]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_rr_504.json"" (65001)"
Params=FOLDER

[Actions\Action22\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_rr_504.json"
replacenull=STRING|"0"
varname=STRING|"SourceData504rr"

[Actions\Action23]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 504 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action23\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData504rr.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912738135081324512988"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_rrr_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc3.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action24]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"672 RR Download files and save in ""Y:\json"""
Params=FOLDER

[Actions\Action24\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-tp/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=672&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1293914012145321401514275"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_rr_672.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action25]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_rr_672.json"" (65001)"
Params=FOLDER

[Actions\Action25\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_rr_672.json"
replacenull=STRING|"0"
varname=STRING|"SourceData672rr"

[Actions\Action26]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 672 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action26\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData672rr.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912738147881427013502"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_rrr_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc4.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action27]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|0
Name=STRING|"//-------- Verteilung --------"
Params=FOLDER

[Actions\Action27\Params]
comment=STRING|"-------- Verteilung --------"

[Actions\Action28]
ActionID=STRING|"A_FILE_COPY"
Enabled=INTEGER|-1
Name=STRING|"Copy Files nach /ezmwf"
Params=FOLDER

[Actions\Action28\Params]
destdir=STRING|"Y:\ezmwf"
f_count=STRING|"1"
file0=STRING|"Y:\json\ezmwf_*.png"
hidden=STRING|"0"
ifexists=STRING|"0"
move=STRING|"0"
rename=STRING|"0"
renamemask=STRING|"*.*.new"
subdir=STRING|"0"
system=STRING|"0"

[Actions\Action3]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_tt_168.json"" (65001)"
Params=FOLDER

[Actions\Action3\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_tt_168.json"
replacenull=STRING|"0"
varname=STRING|"SourceData168tt"

[Actions\Action4]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 168 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action4\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData168tt.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293913506145251375512475"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_ttt_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc1.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action5]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"336 TT -------- Download files and save in ""Y:\json"" --------"
Params=FOLDER

[Actions\Action5\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-2t/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=336&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1345112476129901350514011"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_tt_336.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action6]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_tt_336.json"" (65001)"
Params=FOLDER

[Actions\Action6\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_tt_336.json"
replacenull=STRING|"0"
varname=STRING|"SourceData336tt"

[Actions\Action7]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"Download 336 and save in ""Y:\json"""
Params=FOLDER

[Actions\Action7\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"{json:SourceData336tt.data.link.href}"
filecount=STRING|"1"
password=STRING|"1293912482124831427513502"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ezmwf_eur_ttt_anom_{Year}_wk{WeekOfTheYear({Date})}_mon_fc2.png"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action8]
ActionID=STRING|"A_INET_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"504 TT -------- Download files and save in ""Y:\json"" --------"
Params=FOLDER

[Actions\Action8\Params]
action=STRING|"1"
authorization=STRING|"0"
file0=STRING|"https://charts.ecmwf.int/opencharts-api/v1/products/extended-anomaly-2t/?format=png&base_time={DateTimeToFormat({DateIncDays(-1)},yyyy-mm-dd)}T00%3A00%3A00Z&step=504&valid_time={DateTimeToFormat({DateIncDays(+48)},yyyy-mm-dd)}T00%3A00%3A00Z&projection=opencharts_europe"
filecount=STRING|"1"
password=STRING|"1345112476132461453012484"
proxykind=STRING|"0"
saveas=STRING|"1"
saveasname=STRING|"ecmwf_tt_504.json"
savedir=STRING|"Y:\json"
useproxy=STRING|"0"

[Actions\Action9]
ActionID=STRING|"A_READ_TXTFILE"
Enabled=INTEGER|-1
Name=STRING|"Read ""Y:\json\ecmwf_tt_504.json"" (65001)"
Params=FOLDER

[Actions\Action9\Params]
codepage=STRING|"65001"
filename=STRING|"Y:\json\ecmwf_tt_504.json"
replacenull=STRING|"0"
varname=STRING|"SourceData504tt"

[Events]
Event1=FOLDER

[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_SHEDULER"
Name=STRING|"Scheduler(25.10.2022 06:02:00)"
Params=FOLDER
UniqueID=INTEGER|1193566054

[Events\Event1\Params]
periodicity=STRING|"1"
periodparameter=STRING|"0010000"
periodparameter2=STRING|"11111"
startdate=STRING|"44856"
time0=STRING|"21720000"
timecount=STRING|"1"
wakeup=STRING|"0"
Post Reply