Skip to content

Commit

Permalink
Fixing matplotlib issue with points
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bristow committed Feb 8, 2024
1 parent 4691b79 commit 85f9936
Show file tree
Hide file tree
Showing 60 changed files with 13,052 additions and 13,005 deletions.
1 change: 1 addition & 0 deletions SVSModel.Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Xunit;
30 changes: 30 additions & 0 deletions SVSModel.Tests/SVSModel.Tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SVSModel.Excel\SVSModel.Excel.csproj" />
<ProjectReference Include="..\SVSModel\SVSModel.csproj" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions SVSModel.Tests/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace SVSModel.Tests;

public class UnitTest1
{
[Fact]
public void Test1()
{

}
}
6 changes: 6 additions & 0 deletions SVSModel.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestsConsole", "TestConsole
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestComponents", "TestComponents\TestComponents.csproj", "{B3488A79-46B6-4AE0-A327-1EFA5F850075}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SVSModel.Tests", "SVSModel.Tests\SVSModel.Tests.csproj", "{0D91C706-BC06-483E-993D-EAB30C0D62D6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -40,6 +42,10 @@ Global
{B3488A79-46B6-4AE0-A327-1EFA5F850075}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B3488A79-46B6-4AE0-A327-1EFA5F850075}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B3488A79-46B6-4AE0-A327-1EFA5F850075}.Release|Any CPU.Build.0 = Release|Any CPU
{0D91C706-BC06-483E-993D-EAB30C0D62D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0D91C706-BC06-483E-993D-EAB30C0D62D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0D91C706-BC06-483E-993D-EAB30C0D62D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0D91C706-BC06-483E-993D-EAB30C0D62D6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
502 changes: 251 additions & 251 deletions TestComponents/TestSets/Location/Outputs/ashburton_Aut.csv

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions TestComponents/TestSets/Location/Outputs/ashburton_Spr.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Location/Outputs/blenheim_Aut.csv

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions TestComponents/TestSets/Location/Outputs/blenheim_Spr.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Location/Outputs/hastings_Aut.csv

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions TestComponents/TestSets/Location/Outputs/hastings_Spr.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Location/Outputs/invercargill_Aut.csv

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions TestComponents/TestSets/Location/Outputs/invercargill_Spr.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Location/Outputs/kerikeri_Aut.csv

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions TestComponents/TestSets/Location/Outputs/kerikeri_Spr.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Location/Outputs/levin_Aut.csv

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions TestComponents/TestSets/Location/Outputs/levin_Spr.csv

Large diffs are not rendered by default.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Dry_Full.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Dry_None.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Dry_Some.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Typical_Full.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Typical_None.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Typical_Some.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/VeryDry_Full.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/VeryDry_None.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/VeryDry_Some.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/VeryWet_Full.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/VeryWet_None.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/VeryWet_Some.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Wet_Full.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Wet_None.csv

This file was deleted.

415 changes: 0 additions & 415 deletions TestComponents/TestSets/Moisture/OutPuts/Wet_Some.csv

This file was deleted.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Dry_Full.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Dry_None.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Dry_Some.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Typical_Full.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Typical_None.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Typical_Some.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/VeryDry_Full.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/VeryDry_None.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/VeryDry_Some.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/VeryWet_Full.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/VeryWet_None.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/VeryWet_Some.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Wet_Full.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Wet_None.csv

Large diffs are not rendered by default.

415 changes: 415 additions & 0 deletions TestComponents/TestSets/Moisture/Outputs/Wet_Some.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN0.5High.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN0.5Low.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN1.0High.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN1.0Low.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN1.5High.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN1.5Low.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN3.0High.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN3.0Low.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN4.5High.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/Residues/Outputs/StovN4.5Low.csv

Large diffs are not rendered by default.

502 changes: 251 additions & 251 deletions TestComponents/TestSets/WS2/Outputs/8Oat.csv

Large diffs are not rendered by default.

1,114 changes: 557 additions & 557 deletions TestComponents/TestSets/WS2/Outputs/8Peas.csv

Large diffs are not rendered by default.

1,362 changes: 681 additions & 681 deletions TestComponents/TestSets/WS2/Outputs/8Wheat.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions TestGraphs/MakeGraphs/Moisture.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

# Path for current Tests

inPath = join("TestComponents", "TestSets", "Moisture", "OutPuts")
inPath = join("TestComponents", "TestSets", "Moisture", "Outputs")
outPath = join("TestGraphs", "Outputs")

# Get names and results from each test
Expand All @@ -54,12 +54,12 @@
# +
Alltests =[]
for t in testFiles[:]:
testframe = pd.read_csv(join(inPath, t),index_col=0,dayfirst=True,date_format='%d/%m/%Y %H:%M:%S %p')
testframe = pd.read_csv(join(inPath, t),index_col=0,dayfirst=False,date_format='%m/%d/%Y %H:%M:%S')
Alltests.append(testframe)

AllData = pd.concat(Alltests,axis=1,keys=tests)
AllData.sort_index(axis=0,inplace=True)
AllData.index = pd.to_datetime(AllData.index)
AllData.index = pd.to_datetime(AllData.index, dayfirst=False)
# -

AllData.columns
Expand Down

0 comments on commit 85f9936

Please sign in to comment.