NREL / nsrdb

This repository contains all of the methods for the NSRDB data processing pipeline.

Home Page:https://nrel.github.io/nsrdb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyhdf

MRossol opened this issue · comments

@mikebannis I can't seem to install pyhdf which will make pip installing NSRDB a pain. Any way we can remove pyhdf and instead access modis data by:

  1. converting from hdf4 to hdf5 using this tool:
    def convert_h4(path4, f_h4, path5, f_h5):
  2. access using h5py which is already a dependency?

That shouldn't be a problem. What's your desired timeline on the change?

No rush, I think we will use the old code for 2020, so this can wait until end of the FY

pyhdf has been moved to a conditional import, only required if the nsrdb.albedo.modis module is being run:

import pyhdf