Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Reading time steps from nc file
Post: 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? O...
ankurk017 Data Science 1 2,602 Jul-16-2018, 03:00 AM
    Thread: cannot replace with np.nan
Post: cannot replace with np.nan

a=np.random.randint(15,size=[2,5]) b=np.random.random([2,5]) b[0,2]=np.nan a[0,2]=np.nan I can easily replace any indices of b with nan. But if the same command I am trying to repeat for a, it's showi...
ankurk017 Data Science 3 5,120 Jul-02-2018, 06:01 AM
    Thread: import libraries from another script
Post: import libraries from another script

I have made a script names libraries.py in which i have written import datetime as dt import numpy as np from netCDF4 import Dataset import matplotlib as plt import matplotlib.pyplot as pltI want to ...
ankurk017 Data Science 2 2,985 Jun-29-2018, 09:20 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020