Skip to content

Commit

Permalink
show query
Browse files Browse the repository at this point in the history
  • Loading branch information
ctroupin committed Dec 6, 2024
1 parent 17f177f commit 835b830
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions test/test_CORA_Timeseries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 835b830

Please sign in to comment.