Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
params = { | |
's3path': 's3://nrel-pds-sup3rcc/test/sup3rcc_conus_ecearth3_ssp585_r1i1p1f1_pressure_2017.h5', | |
's3offset': 41943916408, | |
's3size': 2000000, | |
'bucket': 'nrel-pds-hsds-dev', | |
'select': '[0:760,67:68]' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import h5pyd as h5py | |
h5path = "windspeed_10m" | |
tgt_row = 1234567 | |
if len(sys.argv) == 1 or sys.argv[1] in ("-h", "--help"): | |
print(f"usage: {sys.argv[0]} <domain>") | |
sys.exit(1) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import h5pyd | |
import time | |
from concurrent.futures import ProcessPoolExecutor | |
test_file = "/home/test_user1/snp500_link.h5" | |
h5path = "/dset" | |
max_workers = 20 | |
search_key = b'AAPL' | |
f = h5pyd.File(test_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import h5py | |
import h5pyd | |
import numpy as np | |
try: | |
import s3fs | |
S3FS_IMPORT = True | |
except ImportError: | |
S3FS_IMPORT = False | |
import sys | |
import os |
NewerOlder