Repository navigation
Replies: 9 comments 1 reply
|
I've been diving deeper into accessing how to retrieve Unfortunately, all my current code for retrieving and plotting data is reliant on being able to work with All that aside, it would seem to remain a useful enhancement if |
|
Hi @rschmunk! I definitely agree that the Have you tried to use the I also see a |
|
@trdwenski, I'll doublecheck the But |
|
@trdwenski, I took a look at the from the structure shown in the sample CDL above, it returns a |
|
Finally taking a first look at NJ6 source, after seeing a deprecated notice too many days ago in NJ5's That would seem a start at resolving the coding problems I currently confront. |
|
That sounds like incorrect behavior-- both that you are getting a scalar I am not sure we will be able to take a look right away, but maybe you can make an issue for the problems you have found in the 5.x API? |
|
FWIW: After hacking at things for a while, I managed to create a version of netCDF-Java 5.10 (snapshot) that will report coordinate systems if any for a It's all a bit of a mess, and I'll to take a second look at a lot of what I did to see whether some of was necessary at the end. |
|
The code shared by the old vs new APIs really make things complicated. The project needs to make a push to version 6 so that we can remove the old APIs to have a clean target for fixes. |
|
I had been meaning to ask, what's up with the version 6 fork? It's how old now? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to work with a satellite data product that includes some information in structures. The goal is to be able to make 2D color-contour plots of any specified member of a 2D array of a structure. But it seems that when I obtain a
StructureDS, there is no coordinate system attached. This even though the structure metadata does specify agrid_mappingattribute, per the following CDL:A variable in the same group as the HH structure does report the projected grid's coordinate system, and I am able to plot that pretty easily.
Optimally, I'd like to be able to
select("r")orselect("i")from the HHStructureDSand obtain aVariableDSwith 2D content of the specified dimensions, but as things stand in v5.6, theselect(String)method thatStructureDSinherits fromStructureonly provides a plainVariable. I started looking at whether it was possible to promote theVariableto aVariableDS, but implementing aVariableDS.Builderlooks like a convoluted mess and even then I still need to get theStructureDS's coordinate system.Any ideas, suggestion, other? Is any of what I'm talking sound like a deficiency in netCDF-Java for which a new feature enhancement or three would be a plus?
Edit: Crud, looking like the
select(String)method in Structure and StructureDS may not do what I thought it does.All reactions