emilylaiken / merradownload

Script to download data from MERRA-2 database based on lat/lon coordinates
32 stars 20 forks source link

Issue with file #3

Open Caiocoelho07 opened 2 years ago

Caiocoelho07 commented 2 years ago

I'm trying to use the code but I always have the problem with this part:

if '.nc4' in file: try: with xr.open_mfdataset(field_name + '/' + loc + '/' + file, preprocess=extract_date) as df: dfs.append(df.to_dataframe()) except: print('Issue with file ' + file)

All of my files enter in the exception so when the code try to concatenate nothing happens. Can someone help me?

mfcote commented 2 years ago

add these additional installs per Issue #2 scipy netcdf4 dask toolz

alisj95 commented 1 year ago

not sure only adding the additional imports works fine. I have this same problem with non-english characters in path