-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable read-only NetCDF DAP uri:s #33
base: master
Are you sure you want to change the base?
Conversation
Sorry for modifying white space. My editor removes them, and was too tired to put them back. |
@juselius, thank you for your interest in contributing to SDSlite. The solution you suggest will prevent treating properly files named |
Hi @vassilyl, I'll provide a better solution soon, so that it's done properly. The problem is that I'm quite rusty in C#, since I work mostly in F# on .NET. I already tried to implement a DapUrl property in the URI, but there we so many levels of inheritance and so little time, that I just hacked the FileName property instead to get a working solution. |
962a750
to
b1a12cd
Compare
@vassilyl is it better now? I have added a Url property for DAP access to the Uri, and refactored things a bit to avoid duplication. |
Prevent (local) file existence checks for
NetCDF
uri:s which start withhttp
. Instead pass directly tonc_open_chunked()
, to enable read-only DAP/THREDSS support.