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
NetCDF: Not a valid ID error when using CentOS with NetCDF library 4.6.2 #363
Comments
Linking related issue that might help - I think the reported error 14 days ago might hint that the problem is related to changes that were merged? - sneumann/mzR#185 (comment) |
Hi, quick note, does it still fail if you use plain mzR ? |
Hi, 'openMSfile()' can handle the file. The output I get is: Mass Spectrometry file handle. I've tried a few different files and they all seem to return no error. |
Can you please provide the output of your |
With the Bioconductor 3.8 release version of library(xcms)
library(msdata)
fl <- system.file("cdf/ko15.CDF", package = "msdata")
raw <- xcmsRaw(fl)
Error in R_nc4_close: NetCDF: Not a valid ID
Create profile matrix with method 'bin' and step 1 ... OK
od <- readMSData(fl, mode = "onDisk")
sps <- spectra(od) Since this does not happen with the new |
- Fix bug in xcmsRaw that leads to an netCDF error message (issue #363).
I've fixed it in the master and RELEASE_3_8 branch of You can install the fixed version (assuming you have R-3.5.2 and Bioconductor 3.8 packages) with devtools::install_github("sneumann/xcms", ref = "RELEASE_3_8") |
I am guessing you don't need this info any longer?
Thanks a lot! I've downloaded newer version, will give it a whirl! |
Please also close the issue when you're OK with it (i.e. we've fixed your problem). |
I have a feeling something is stopping the newer version to run. I've new set of text of wall and feel it is local machine issue rather than XCMS. Thoughts? When I run xset = xcmsSet(), now I see this text and process stops.
|
This looks like text printed during the installation of |
You are right. It was an issue with installation of xcms. I've now installed it after removing previous package and it has sailed through. I think it has successfully read most of the files now (got over 600 x 2gb files) but it will take longer to finish. I will close this thread as the issue seems to be resolved. If something new pops up, I'll open another thread. Thank you for resolving this so quickly! |
Hi,
I am using the code below on a CentOS node that is on computing cluster. It has installed and loaded R and required packages fine. It can also detect all my netCDF files in the location but as soon as it starts to create my xcmsSet, it fails with an error.
Script:
I have tried the same files on MacOS and they are OK. I have narrowed it down to being how XCMS works on centOS but am unable to put a finger on what is causing that error. Internet is of no use on this error code on netCDF library. Is this a familiar scenario?
Some of the raw files can be accessed here - https://www.dropbox.com/sh/m6um4ofsmvgw7ct/AABDcbjI_tr54ruHOYqGrLXHa?dl=0
Edit: I've tried (inspired from similar issue here - #299) without parallel processing and with - nothing changes. Still get same error.
The text was updated successfully, but these errors were encountered: