From 835b830be12a7ab57175694347ff040ad3a7f335 Mon Sep 17 00:00:00 2001 From: ctroupin Date: Fri, 6 Dec 2024 15:33:51 +0100 Subject: [PATCH] show query --- test/runtests.jl | 2 -- test/test_CORA_Timeseries.jl | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 411d891..dd7360c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -8,8 +8,6 @@ using HTTP include("../src/DIVAndFairEase.jl") APItoken = ENV["beaconAPItoken"]; -println(APItoken[1:10]) - # Define period of interest and domain domain = [12.1, 17.85, 43.12, 45.95] datestart = Dates.Date(1990, 1, 1) diff --git a/test/test_CORA_Timeseries.jl b/test/test_CORA_Timeseries.jl index 145b8fa..9b73aa3 100644 --- a/test/test_CORA_Timeseries.jl +++ b/test/test_CORA_Timeseries.jl @@ -5,6 +5,9 @@ outputfile = tempname() * ".nc" + @info(query); + @info(outputfile); + @time open(outputfile, "w") do io r = HTTP.request("POST", joinpath(beacon_services[datasource], "api/query"), ["Content-type"=> "application/json",