Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: how to read a netcdf files

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default how to read a netcdf files

    how to read a netcdf file in java?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,407
    Thanks
    53
    Thanked 2,399 Times in 2,352 Posts

    Default Re: how to read a netcdf files

    Do you know the internal layout of the file? Given that, you should be able to write java code to read the file.
    If you don't understand my answer, don't ignore it, ask a question.

  3. The Following User Says Thank You to Norm For This Useful Post:

    banasthali (September 17th, 2014)

  4. #3
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: how to read a netcdf files

    I don't know the internal structure of the file,still can I read the file and how?

  5. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,407
    Thanks
    53
    Thanked 2,399 Times in 2,352 Posts

    Default Re: how to read a netcdf files

    can I read the file and how?
    Yes, you can read it. The FileInputStream class's methods would allow you to read the bytes from the file.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. [SOLVED] FileNotFoundException-Unable to read the contents of all the files
    By Dinesh Raja in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 5th, 2013, 06:53 AM
  2. Help - how to read epub files?
    By mathokha in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: October 7th, 2013, 06:59 AM
  3. Can't read really big files
    By Yoso14 in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: September 3rd, 2012, 01:59 PM
  4. How can I read txt files in java program??
    By sakura_smile in forum What's Wrong With My Code?
    Replies: 5
    Last Post: June 9th, 2012, 06:18 PM
  5. [SOLVED] Using Scanner to read in text files
    By PeskyToaster in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: April 16th, 2012, 04:57 PM