-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support NC_STRING #274
Comments
This is a reasonable suggestion that I will put on the TODO list. The NCO warning message is out-of-date, since it was written before CF allowed |
Great, thank you. |
I have made some progress. The current snapshot has better NC_STRING support that resolves your immediate issue. However, better NC_STRING is still needed since there's a lot of code that only works for NC_CHAR. If you have the ability to build and test the main branch, any feedback would be helpful. Here's the result of the command that originally error'd out for you:
|
I tried to compile nco, but I faced a few issues. TBH, I haven't compiled a C project in a while, so I'm probably missing something.
I also tried the ./configure; make; make install; but no luck either. It also needs to write to /usr/local and when I run
edit: I'm running these commands on a Ubuntu 23.04 |
This should build/install NCO in your home directory.
Try also |
Hi, I was not able to compile nco before, but I just tried with nco 5.1.8 and it works smoothly. |
Hi,
We use some of the latest netCDF4 features in the dataset we produce.
However, when running a nco command such as:
, we get warnings like:
But, when we go click on the CF conventions linked, we can read that strings should be supported:
Here is an example of the dataset that produce the error: fcil1c_rrad.zip
Would it be possible for nco to support NC_STRING type ?
Side notes:
The link to UCAR's datatype from CF convention is dead, you may want to look at the code of netCDF C here for reference: https://docs.unidata.ucar.edu/netcdf-c/current/netcdf_8h_source.html
The text was updated successfully, but these errors were encountered: