Closed IdahoSixString closed 7 years ago
I'm not sure how to do this. I'm considering making it the default
@IdahoSixString I figured out how to do this. Do you have a file I can use for tests?
@IdahoSixString @jnyrup @silv2015 Can one of you provide or refer a service that can provide a grib file that contains at least 2 messages that do not work correctly without EnableMultipleFieldMessages
enabled? I need one to test the new auto-detection feature, but I'm having difficulty locating one.
Many thanks for your help and interest in the project.
@0x1mason Here you go this file will require that you have EnableMultipleFieldMessages enabled.
@IdahoSixString Thanks.
Sorry but All the files I have are at least 50mb, I can ask my service provider for a smaller file if you still need it?
@IdahoSixString @silv2015 I ended up just enabling it by default. The grib_api docs caution against it, but several of the other wrapper libs I've seen do it and having it disabled has been a major source of confusion.
The context object is static, so trying to dis/enable dynamically could cause surprising behavior when dealing with the multiple files at the same time. Not worth.
As always, I appreciate your help.
@0x1mason Can you please upload your new beta package to NuGet? I only see the 1.0 beta on NuGet.
@IdahoSixString Check now
@0x1mason beta is still listed as the neweset pre-release: https://www.nuget.org/packages/Grib.Api/
Still only see 1.0.0-beta.
From: Jonas Nyrup notifications@github.com Sent: Tuesday, August 1, 2017 12:29:46 AM To: 0x1mason/GribApi.NET Cc: IdahoSixString; Mention Subject: Re: [0x1mason/GribApi.NET] EnableMultipleFieldMessages Detection (#49)
@0x1masonhttps://github.com/0x1mason beta is still listed as the neweset pre-release: https://www.nuget.org/packages/Grib.Api/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/0x1mason/GribApi.NET/issues/49#issuecomment-319280558, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFGk7mIxQrqhHnl_gO39UMNe4mEgOq0rks5sTsXagaJpZM4M3Gat.
@IdahoSixString @jnyrup It's definitely there now.
I see it there now. What happened previously?
From: Eric Millin notifications@github.com Sent: Tuesday, August 1, 2017 6:35:47 PM To: 0x1mason/GribApi.NET Cc: IdahoSixString; Mention Subject: Re: [0x1mason/GribApi.NET] EnableMultipleFieldMessages Detection (#49)
@IdahoSixStringhttps://github.com/idahosixstring @jnyruphttps://github.com/jnyrup It's definitely there now.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/0x1mason/GribApi.NET/issues/49#issuecomment-319534780, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFGk7skPr313s2yEAH0B1fd_-485bBVXks5sT8RjgaJpZM4M3Gat.
As previously noted in #29 and #47 it seems to be a common issue to have to enable EnableMultipleFieldMessages. Maybe the when running the a similar method to FileIsValid we could detect if EnableMultipleFieldMessages needs to be set to true or not. Thoughts?