This repository was archived by the owner on Feb 21, 2023. It is now read-only.
File tree 4 files changed +23
-11
lines changed
4 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
3
+ 0.7.1
4
+ =====
5
+ * Fixed GribContext null log event handler invocation.
6
+ * Fixed GribFile FileIsValid error for GTS header trailers.
7
+ * Improved Grib definition directory location logic.
8
+ * Fixed GribKey All bitwise OR bug.
9
+ * GribMessage::Box now throws NotSupportedException
10
+
3
11
0.7.0
4
12
=====
5
13
* Updated grib_api to 1.14.5.
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ xcopy %~dp0..\bin\x86\%_CONFIG%\Grib.Api.xml %~dp0..\nuget.package\lib\net40\ /S
17
17
xcopy %~dp0 ..\bin\x86\%_CONFIG% \Grib.Api\lib\win\x86\Grib.Api.Native.dll %~dp0 ..\nuget.package\Grib.Api\lib\win\x86\ /S /Y /I /Q
18
18
xcopy %~dp0 ..\bin\x86\%_CONFIG% \Grib.Api\lib\win\x86\Grib.Api.Native.pdb %~dp0 ..\nuget.package\Grib.Api\lib\win\x86\ /S /Y /I /Q
19
19
20
- xcopy %~dp0 ..\ext\grib_api\definitions %~dp0 ..\nuget.package\Grib.Api\definitions\ /S /d /I /Q
20
+ xcopy %~dp0 ..\ext\grib_api\definitions %~dp0 ..\nuget.package\Grib.Api\definitions\ /S /d /I /Q /Y
21
21
22
- xcopy %~dp0 ..\ext\grib_api\samples %~dp0 ..\nuget.package\Grib.Api\samples\ /S /d /I /Q
22
+ xcopy %~dp0 ..\ext\grib_api\samples %~dp0 ..\nuget.package\Grib.Api\samples\ /S /d /I /Q /Y
23
23
24
24
pushd %~dp0 ..\nuget.package
25
25
nuget pack Grib.Api.nuspec -Version %_VERSION%
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public void TestTime()
217
217
}
218
218
}
219
219
220
- [ Test ]
220
+ // [Test] -- feature currently not supported
221
221
public void TestGetBox ( )
222
222
{
223
223
using ( GribFile file = new GribFile ( Settings . REG_GAUSSIAN_MODEL_GRB1 ) ) {
Original file line number Diff line number Diff line change @@ -101,20 +101,24 @@ public GribMessage Clone()
101
101
}
102
102
103
103
/// <summary>
104
- /// Returns a subdomain defined by the given north/west/south/east boundaries.
104
+ /// [NOT SUPPORTED] Returns a subdomain defined by the given north/west/south/east boundaries.
105
105
/// At this time, boxes are only supported for regular and reduced Gaussian grids.
106
106
/// </summary>
107
107
/// <param name="nw">The NW corner of the box.</param>
108
108
/// <param name="se">The SE corner of the box.</param>
109
- /// <returns></returns>
109
+ /// <returns></return>
110
+ /// <exception cref="System.NotSupportedException"></exception>
110
111
public GribBox Box ( GeoCoordinate nw , GeoCoordinate se )
111
112
{
112
- if ( ! GridType . Contains ( "regular_gg" ) && ! GridType . Contains ( "reduced_gg" ) )
113
- {
114
- throw new GribApiException ( "Only regular and reduced Gaussian grids support boxes." ) ;
115
- }
116
-
117
- return new GribBox ( Handle , nw , se ) ;
113
+ // GribPoints_latitudes_get returns an array -- marshalling needs to be changes to properly allocate
114
+ // array size
115
+ throw new NotSupportedException ( "MarshalDirectiveException : Cannot marshal 'return value'" ) ;
116
+ //if (!GridType.Contains("regular_gg") && !GridType.Contains("reduced_gg"))
117
+ //{
118
+ // throw new GribApiException("Only regular and reduced Gaussian grids support boxes.");
119
+ //}
120
+
121
+ //return new GribBox(Handle, nw, se);
118
122
}
119
123
120
124
/// <summary>
You can’t perform that action at this time.
0 commit comments