From 4eb3639b98b7fb8fa6d98cba78a6e4fd325d2f2a Mon Sep 17 00:00:00 2001 From: Andrew Simms Date: Fri, 8 Dec 2023 06:27:28 -0700 Subject: [PATCH] Tests: Use original API key for developer.nrel.gov --- mhkit/tests/Wave_TestIO.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mhkit/tests/Wave_TestIO.m b/mhkit/tests/Wave_TestIO.m index d39d246de..a79f331ab 100644 --- a/mhkit/tests/Wave_TestIO.m +++ b/mhkit/tests/Wave_TestIO.m @@ -113,8 +113,8 @@ function test_WPTO_point_multiloc(testCase) % Error using matlab.internal.webservices.HTTPConnector/copyContentToByteArray (line 373) % The server returned the status 503 with message "Service Unavailable" in response to the request to URL % https://developer.nrel.gov/api/hsds/?api_key=3K3JQbjZmWctY0xmIfSYvYgtIcM3CN0cb1Y2w9bf&domain=%2Fnrel%2FUS_wave%2Fvirtual_buoy%2FWest_Coast%2FWest_Coast_virtual_buoy_2010.h5. - % api_key = '3K3JQbjZmWctY0xmIfSYvYgtIcM3CN0cb1Y2w9bf'; - api_key = 'PvY5MoqgfwVi6UnMIHYuXA2dDfWPZi885Ah3Jfvd'; + api_key = '3K3JQbjZmWctY0xmIfSYvYgtIcM3CN0cb1Y2w9bf'; + % api_key = 'PvY5MoqgfwVi6UnMIHYuXA2dDfWPZi885Ah3Jfvd'; hindcast_data = request_wpto('1-hour',... ["energy_period"],[44.624076,-124.280097;43.489171,-125.152137],... 2010,api_key); @@ -145,8 +145,8 @@ function test_WPTO_point_multiloc(testCase) end function test_WPTO_point_multiparm(testCase) - % api_key = '3K3JQbjZmWctY0xmIfSYvYgtIcM3CN0cb1Y2w9bf'; - api_key = 'PvY5MoqgfwVi6UnMIHYuXA2dDfWPZi885Ah3Jfvd'; + api_key = '3K3JQbjZmWctY0xmIfSYvYgtIcM3CN0cb1Y2w9bf'; + % api_key = 'PvY5MoqgfwVi6UnMIHYuXA2dDfWPZi885Ah3Jfvd'; hindcast_data = request_wpto('3-hour',... ["mean_absolute_period","significant_wave_height"],[44.624076,-124.280097],... 1996,api_key);