Re: [netcdf-java] Fwd: How to use the Java Api

No problem! Let us know if you have any other questions!

On Fri, Mar 25, 2016 at 11:11 AM, shashi kumar <shashi.fengshui@xxxxxxxxx>
wrote:

> Sean,
>
> Thanks a lot , this was the input i was expecting.
> Really useful for me .
>
> Regards,
> Sashi
>
> On Fri, Mar 25, 2016 at 10:29 PM, Sean Arms <sarms@xxxxxxxx> wrote:
>
>> Hi Shashi,
>>
>> Depending on your application, it may be better to use Iterators, but
>> this example will read the entire grid and print out the time, height, lat,
>> lon, and grid value for every point in your example data file.
>>
>> Cheers,
>>
>> Sean
>>
>>
>> On Fri, Mar 25, 2016 at 9:46 AM, shashi kumar <shashi.fengshui@xxxxxxxxx>
>> wrote:
>>
>>> Do u have an example for it plz
>>> On 25 Mar 2016 9:10 pm, "Sean Arms" <sarms@xxxxxxxx> wrote:
>>>
>>>> Greetings Sashi,
>>>>
>>>> Is it that you want to entire grid and would like to, for example, loop
>>>> over each element to do a calculation, as well as being able to extract the
>>>> lat/lon value for each point?
>>>>
>>>> Cheers,
>>>>
>>>> Sean
>>>>
>>>>
>>>> On Fri, Mar 25, 2016 at 9:37 AM, shashi kumar <
>>>> shashi.fengshui@xxxxxxxxx> wrote:
>>>>
>>>>> Thanks Sean,
>>>>>
>>>>> I am very glad to get this reply. My query was to get the complete
>>>>> data from the nc file.
>>>>> Can you plz help me on this.
>>>>>
>>>>> Regards,
>>>>> Sashi
>>>>>
>>>>> On Fri, Mar 25, 2016 at 8:59 PM, Sean Arms <sarms@xxxxxxxx> wrote:
>>>>>
>>>>>> Greetings Sashi,
>>>>>>
>>>>>> Please see the attached java code for an example of how to read data
>>>>>> from a grid given a lat/lon value, using the latest netcdfAll.jar 
>>>>>> (v4.6.4).
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Sean
>>>>>>
>>>>>>
>>>>>> On Wed, Feb 17, 2016 at 6:28 PM, shashi kumar <
>>>>>> shashi.fengshui@xxxxxxxxx> wrote:
>>>>>>
>>>>>>> Dear Team,
>>>>>>>
>>>>>>> I am new in working with netcdf file.
>>>>>>>
>>>>>>> Just wanted to know how to get the temperature value for the
>>>>>>> corresponding lat and long values.
>>>>>>>
>>>>>>> can you please help in getting the values(Api) . I tried the
>>>>>>> program(documentation provided) , but could get only the values
>>>>>>> individually but could not get the lat and long for a 
>>>>>>> temperature/pressue.
>>>>>>>
>>>>>>> Have attached the .nc file(Sample).
>>>>>>>
>>>>>>> Regards,
>>>>>>> Sashi
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> netcdf-java mailing list
>>>>>>> netcdf-java@xxxxxxxxxxxxxxxx
>>>>>>> For list information or to unsubscribe, visit:
>>>>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>
>
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: