Skip to content

Instantly share code, notes, and snippets.

@zronaghi
Created March 8, 2021 02:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save zronaghi/f5b1025432de1c6ee0c8e7fcffc93eb9 to your computer and use it in GitHub Desktop.
import cudf
obsfile = 'https://gmao.gsfc.nasa.gov/gmaoftp/geoscf/COVID_NO2/examples/obs.csv'
obsdat = cudf.read_csv(obsfile,parse_dates=['ISO8601'],date_parser=lambda x: dt.datetime.strptime(x, '%Y-%m-%dT%H:%M:%SZ'))
allobs = obsdat.loc[(obsdat['obstype']=='no2')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment