Git Product home page Git Product logo

Comments (8)

hmb1 avatar hmb1 commented on May 16, 2024

@czender
The below command is working for me with the latest repo version of NCO
ncks -v spectral_channel_quality -m s5p.n

With the below command I am getting
ncks -m s5p.nc

nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_inq_varid()
nco_err_exit(): ERROR Error code is -59. Translation into English with nc_strerror(-59) is "NetCDF: Name contains illegal characters"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)

from nco.

czender avatar czender commented on May 16, 2024

This fails for me on MacOS, yet works on Linux:
ncks -v spectral_channel_quality -m s5p.nc
This fails on both:
ncks -m s5p.nc
Please continue investigation into second command failure on Linux.

from nco.

hmb1 avatar hmb1 commented on May 16, 2024

@czender
have done a fix to nco_prn_cdl_trd() so that COMPOUND/ENUM/VLEN/OPAQUE types are ignored and NOT marked for extraction. Maybe the traversal table should NOT be picking up these types. Let me think some more on this. Anyways my fix is in the branch hmb_fix_cdl

The command ncks -m s5p.nc now works

from nco.

czender avatar czender commented on May 16, 2024

Great! Please propagate the fix to XML and JSON printing if you have not already. We want to keep each output type working for all input classes. Also take time and think how this should be done with an eye towards allowing the easiest non-atomic types (enum and vlen?) to work with certain NCO features, starting with extraction and printing. 4.7.4 should include the fixes that allow printing of as much of the S5P datasets as possible with the minimal hassle.

from nco.

hmb1 avatar hmb1 commented on May 16, 2024

@czender
OK I have a more thematic one line fix - will add fix to XML & JSON and then commit in branch hmb_fix_cdl

from nco.

hmb1 avatar hmb1 commented on May 16, 2024

ok json, xml, trd, cdl all fixed in branch hmb_fix_cdl

from nco.

czender avatar czender commented on May 16, 2024

Please merge to master then close issue. If you have ideas on extracting/printing non-atomic types, please open a new issue to discuss. This S5P dataset is a good one to use to prioritize changes that are useful to the community.

from nco.

hmb1 avatar hmb1 commented on May 16, 2024

merged

from nco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.