reading a 1d field in a script

Post any questions, ideas, or topics related to Jython and Python scripting.
Post Reply
User avatar
joleenf
Posts: 1123
Joined: Mon Jan 19, 2009 7:16 pm

reading a 1d field in a script

Post by joleenf »

Hi,

A colleague is trying to read this netCDF file in a script. He is trying to extract the band information for the band. The band information is contained in a 1d field within the netCDF file. Is there a way to access that information from a script?

Next, what is the status of the netCDF standards for satellite data? This file is currently the best preview to data format expected for the ABI cloud and moisture files (according to updated PUG documents at this time). This is a multi-banded file, there are also single banded files.

ftp://ftp.ssec.wisc.edu/ABI/kaba/sim-ab ... 1800094.nc

It seems that it must at least be possible to access some of the header information as metadata, because this can be accessed in the field selector, under data sources,
a.) right click on the appropriate data source and select "Properties"
b.) Click the metadata tab to view the header.

However, this needs to go one step further and return the value for the data.

Thanks,
Joleen
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: reading a 1d field in a script

Post by Rick »

Hi Joleen,

That capability is not currently available from scripting. I wrote up Inquiry 1898 to address the issue. Ideally, this would be a generic function. For ABI data, an ADDE server is scheduled to be completed by April 2015. The values for the metadata are going to be in the calibration block. It's a possibility this information could be included in the object returned from loadADDEImage or more likely, listADDEImage.

Discussions are still underway to create generic standards for satellite data. The major hurdle is navigation where unlike grids, some points may not have navigation. McIDAS-V has been updated to handle the navigation for CF compliant ABI data.

Let us know if that answers your questions.
User avatar
joleenf
Posts: 1123
Joined: Mon Jan 19, 2009 7:16 pm

Re: reading a 1d field in a script

Post by joleenf »

Yes it does. Thanks.

Joleen
Post Reply