Skip to content

Commit 6f02fd0

Browse files
committed
Rename Haro Strait/Straight to Orcasound Lab
Fixes #145 Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
1 parent d04265a commit 6f02fd0

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

ModeratorFrontEnd/AIForOrcas/AIForOrcas.Client.Web/appsettings.Development.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"AppSettings": {
1111
"APIUrl": "https://apisitename.azurewebsites.net/",
12-
"Locations": [ "Bush Point", "Haro Strait", "Port Townsend" ],
12+
"Locations": [ "Bush Point", "Orcasound Lab", "Port Townsend" ],
1313
"AzureAd": {
1414
"Instance": "https://login.microsoftonline.com/",
1515
"Domain": "outlookdomain.onmicrosoft.com",

ModeratorFrontEnd/AIForOrcas/AIForOrcas.Client.Web/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"AllowedHosts": "*",
2424
"AppSettings": {
2525
"APIUrl": "https://apisitename.azurewebsites.net/",
26-
"Locations": [ "Bush Point", "Haro Strait", "Port Townsend" ],
26+
"Locations": [ "Bush Point", "Orcasound Lab", "Port Townsend" ],
2727
"AzureAd": {
2828
"Instance": "https://login.microsoftonline.com/",
2929
"Domain": "outlookdomain.onmicrosoft.com",

ModeratorFrontEnd/AIForOrcas/AIForOrcas.DTO/API/Detections/DetectionQueryParameters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class DetectionQueryParameters
4444
public DateTime? DateTo { get; set; }
4545

4646
/// <summary>
47-
/// Location of the hydrophone (all, Haro Straight, Port Townsend, etc.).
47+
/// Location of the hydrophone (all, Orcasound Lab, Port Townsend, etc.).
4848
/// </summary>
4949
/// <example>all</example>
5050
public string Location { get; set; } = "all";

ModeratorFrontEnd/AIForOrcas/AIForOrcas.DTO/API/Detections/Location.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class Location
88
/// <summary>
99
/// Name of the hydrophone location.
1010
/// </summary>
11-
/// <example>Haro Strait</example>
11+
/// <example>Orcasound Lab</example>
1212
public string Name { get; set; }
1313

1414
/// <summary>

ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Api.Tests.Unit/Services/DetectionOrchestrationServiceTests/Default.RetrieveFilteredDetectionsAsync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task Default_RetrieveFilteredDetectionsAsync_Expect()
2121
Page = 1,
2222
PageSize = 10,
2323
State = "Positive",
24-
Location = "Haro Straight",
24+
Location = "Orcasound Lab",
2525
SortBy = "timestamp",
2626
SortOrder = "DESC"
2727
};

ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Api.Tests.Unit/Services/MetadataServiceTests/Default.RetrievePaginatedMetadataAsync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public async Task Default_Expect_RetrievePaginatedMetdataAsync()
2323
DateTime toDate = DateTime.Now.AddDays(1);
2424

2525
var result = await _metadataService.
26-
RetrievePaginatedMetadataAsync("Positive", fromDate, toDate, "timestamp", true, "Haro Straight", 1, 10);
26+
RetrievePaginatedMetadataAsync("Positive", fromDate, toDate, "timestamp", true, "Orcasound Lab", 1, 10);
2727

2828
Assert.AreEqual(expectedResult.PaginatedRecords.Count(), result.QueryableRecords.Count());
2929

@@ -54,7 +54,7 @@ public async Task Default_Expect_RetrievePaginatedMetdataAsync_ZeroPageAndPageSi
5454
DateTime toDate = DateTime.Now.AddDays(1);
5555

5656
var result = await _metadataService.
57-
RetrievePaginatedMetadataAsync("Positive", fromDate, toDate, "timestamp", true, "Haro Straight", -1, -10);
57+
RetrievePaginatedMetadataAsync("Positive", fromDate, toDate, "timestamp", true, "Orcasound Lab", -1, -10);
5858

5959
Assert.AreEqual(expectedResult.PaginatedRecords.Count(), result.QueryableRecords.Count());
6060

ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Api/Models/Metadatas/Metadata.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class Metadata
2323
/// <summary>
2424
/// The name of the hydrophone where the metadata was collected.
2525
/// </summary>
26-
/// <example>Haro Strait</example>
26+
/// <example>Orcasound Lab</example>
2727
[JsonProperty("locationName", NullValueHandling = NullValueHandling.Ignore)]
2828
public string LocationName { get; set; }
2929

@@ -119,7 +119,7 @@ public class Location
119119
/// <summary>
120120
/// Name of the hydrophone location.
121121
/// </summary>
122-
/// <example>Haro Strait</example>
122+
/// <example>Orcasound Lab</example>
123123
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
124124
public string Name { get; set; }
125125

ModeratorFrontEnd/schema/example_v2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"id": "000000000-000000000-00000000-00000000000", // Guid
33
"state": "Unreviewed", // State of the review (Unreviewed, Positive, Negative, Unknown)
4-
"locationName": "Haro Strait", // the name of the location (does duplicate name in location below)
4+
"locationName": "Orcasound Lab", // the name of the location (does duplicate name in location below)
55
"audioUri": "https://livemlaudiospecstorage.blob.core.windows.net/audiowavs/rpi_orcasound_lab_2020_09_30_03_51_56_PDT.wav", // string
66
"imageUri": "https://livemlaudiospecstorage.blob.core.windows.net/spectrogramspng/rpi_orcasound_lab_2020_09_30_03_51_56_PDT.png", // string
77
"timestamp": "2020-09-30T10:51:56.057346Z", // ISO format - UTC
88
"whaleFoundConfidence": 88.55000000000001, // double
99
"location": {
1010
"id": "rpi_orcasound_lab",
11-
"name": "Haro Strait",
11+
"name": "Orcasound Lab",
1212
"longitude": -123.2166658,
1313
"latitude": 48.5499978
1414
},
@@ -48,4 +48,4 @@
4848
"_etag": "\"00000000-0000-0000-e1cf-0db2d8c501d9\"",
4949
"_attachments": "attachments/",
5050
"_ts": 1694120738
51-
}
51+
}

0 commit comments

Comments
 (0)