Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    James McClain
    @jamesmcclain
    Hello, I would like to ask a few questions about netCDF-Java
    I would like to be able to read files out of HDFS and off of S3. It is my understanding that that is not currently possible, but it does seem to be possible for http
    If this is accurate, would a contribution of S3 and/or HDFS readers be of interest? If so, I would appreciate any pointers and/or resources that you can provide
    cwardgar @cwardgar tests all-important IRC emotes.
    Christian W
    @cwardgar
    Sweet!
    Sean Arms
    @lesserwhirls
    w00t!
    /me tests on iPhone client
    Hmm
    lesserwhirls @lesserwhirls tests again on mac client
    Sean Arms
    @lesserwhirls
    So no workie on the iPhone client. No biggie.
    lesserwhirls @lesserwhirls thinking it's time to move away from the UCAR wiki completely
    Sean Arms
    @lesserwhirls
    Gitter has an IRC bridge...slack has an IRC bridge...hmmmm
    Sean Arms
    @lesserwhirls
    Hello from IRC!
    Sean Arms
    @lesserwhirls
    Happy Thanksgiving to all!
    Sean Arms
    @lesserwhirls
    test bnc server
    Sean Arms
    @lesserwhirls
    test 2
    Sean Arms
    @lesserwhirls
    For anyone watching this channel: THREDDS Data Server and netCDF-Java upcoming license change https://www.unidata.ucar.edu/blogs/developer/entry/thredds-licence-change
    Mike
    @mikebelanger
    very helpful - I'm able to get grib2 reads working
    one question though - I'm looking through the Grib2Record class doc
    and I can't see how to get the name of a variable
    ie) "Total_precipitation_surface_6_Hour_Accumulation"
    I can get what looks like the variable values themselves
    but I'm unsure what those values are
    I should mention: the example in the doc uses a RandomAccessFile instance
    In its place, I'm using HDFSRandomAccessFile
    the file loading through HDFS seems to work, but I thought I should mention it
    Sean Arms
    @lesserwhirls
    So that variable name does not actually exists in the GRIB record. That is something we construct based on external tables. The details for GRIB2 can be found at https://docs.unidata.ucar.edu/netcdf-java/5.2/userguide/grib_files_cdm.html#grib-2-variables
    Mike
    @mikebelanger
    ah ok
    Sean Arms
    @lesserwhirls
    For a given GRIB2 record, you can read its product definition section calling getPDS(). The product definition section contains the bytes that can then be used to map to an external table to then know what variable you are dealing with (assuming the table is correct, which isn't always true).
    As part of translating the 2D GRIB records into an N-D netCDF variables, we create a human readable name, but that happens at a higher level in the stack.
    Mike
    @mikebelanger
    ok so the table I'm comparing against has number, section and octet
    Mike
    @mikebelanger
    alright well thanks again! guess I'm just gonna have to take a chance with these tables. Had no idea the grib2 format was so...open ended
    does add to my appreciation to what your CDM does
    Phil XIAO
    @geostax
    org.gradle.api.GradleScriptException: A problem occurred evaluating settings 'buildSrc'.
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:178)
        at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:61)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:58)
        at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:67)
        at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:58)
        at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
        at org.gradle.initialization.SettingsEvaluatedCallbackFiringSettingsProcessor.process(SettingsEvaluatedCallbackFiringSettingsProcessor.java:34)
        at org.gradle.initialization.RootBuildCacheControllerSettingsProcessor.process(RootBuildCacheControllerSettingsProcessor.java:36)
        at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:48)
        at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:45)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:331)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:321)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:107)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.initialization.BuildOperationSettingsProcessor.process(BuildOperationSettingsProcessor.java:45)
        at org.gradle.initialization.DefaultSettingsLoader.findSettingsAndLoadIfAppropriate(DefaultSettingsLoader.java:109)
        at org.gradle.initialization.DefaultSettingsLoader.findAndLoadSettings(DefaultSettingsLoader.java:48)
        at org.gradle.initialization.DefaultSettingsLoaderFactory$1.findAndLoadSettings(DefaultSettingsLoaderFactory.java:66)
        at org.gradle.initialization.DefaultGradleLauncher$LoadBuild.run(DefaultGradleLauncher.java:242)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.initialization.DefaultGradleLauncher.loadSettings(DefaultGradleLauncher.java:167)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:128)
        at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:115)
        at org.g
    Hi, I try to build tds using gradle but got this exception. Is there anyone who knows what's the problem?
    Sean Arms
    @lesserwhirls
    Which version of the tds are you trying to build? Are you using the gradle wrapper or your own locally installed version of gradle?
    Phil XIAO
    @geostax
    @lesserwhirls Hi, I have resolved this exception by using the latest verison of Intellij, thanks!
    Sean Arms
    @lesserwhirls
    Thank you for the update!