Skip to content

Commit

Permalink
Tests: Use original API key for developer.nrel.gov
Browse files Browse the repository at this point in the history
  • Loading branch information
simmsa committed Dec 8, 2023
1 parent 2ee8a7a commit 4eb3639
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mhkit/tests/Wave_TestIO.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4eb3639

Please sign in to comment.