Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Reading time steps from nc file
I have a nc file having time steps from 2013-10-09:00:00:00 to 2013-10-13 09:00:00, having 3hr interval.
When I read the time step, it's showing 0,180,360..... and so on.
Am I doing something wrong? Or is it the correct way to read the time steps?

import numpy as np
from netCDF4 import Dataset
I have attached the .nc file as well.
What's the correct way to read time steps, so that I can get the required dates?
I have attached the link to nc file here.
No one is going to download an unknown file from an unknown person in a forum. Append 20 lines, plus or minus, of the file in the post.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  reading tab file Mandiph 1 351 Sep-05-2019, 01:03 PM
Last Post: ThomasL
  Reading a .dat file in Python mohd_umair 4 11,479 Apr-24-2019, 12:07 PM
Last Post: mohd_umair
  reading, modifying and writing json file metalray 2 6,977 Jun-06-2018, 03:09 PM
Last Post: metalray
  Reading json file as pandas data frame? Alberto 1 5,649 Feb-05-2018, 12:43 AM
Last Post: snippsat
  matplotlib help with reading values from CSV file cps13 6 3,170 Aug-22-2017, 10:21 AM
Last Post: andre
  Need help reading in a binary file shaynehansen 2 1,670 Jun-22-2017, 10:04 AM
Last Post: zivoni
  How to form a dataframe reading separate dictionaries from .txt file? Doug 0 1,342 Jan-23-2017, 01:32 AM
Last Post: Doug

Forum Jump:

Users browsing this thread: 1 Guest(s)