Skip to content
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

Operation not permitted errors #15

Open
theophilusx opened this issue Aug 1, 2018 · 2 comments
Open

Operation not permitted errors #15

theophilusx opened this issue Aug 1, 2018 · 2 comments

Comments

@theophilusx
Copy link

Hi,

first, thanks for this library. I have found it very useful. I have been processing some large NetCDF files and all has been going really well. However, I've now run into a NetCDF file which throws "Operation not permitted" errors, but I cannot work out why. The same operation on other NetCDF files works just fine. I am only trying to read the files, not write to them.

One specific example I've traced to trying to read the 'endianness' attribute from a variable object. The attribute is there (it is listed if I do a for (let k of Object.keys(nc.root.variables[latitude])) ... but if I try to access the value, I get an "Operation not permitted" error. If I ry to dump the objects to console.dir() I get the same error. All of theses operations work fine with other NetCDF files I'm processing, so it is something different with this version of NetCDF files, but I am not sure what. Any clue or help you can provide would be appreciated. Have you seen this before or are there some known limitations etc?

The file is 14.8Mb in size, so I cannot upload it, but happy to share it if that would help (just need somewhere I an send/upload it).

thanks,
Tim

@swillner
Copy link
Collaborator

swillner commented Sep 5, 2018

Hi Tim,
Hmm, hard to say anything in general here. Do you have any way of transferring your file? E.g. dropbox public link, OwnCloud, ...?
Cheers,
Sven

@theophilusx
Copy link
Author

theophilusx commented Sep 5, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants