usgs / groundmotion-processing

Parsing and processing ground motion data
Other
54 stars 42 forks source link

Changing the array type to logspace for spectral acceleration in the config file does not work. #1062

Closed bartikpandel closed 2 years ago

bartikpandel commented 2 years ago

For spectral acceleration calculation, if the array for periods is set to logspace in the config.yml file, I believe nothing is returned as my plot for SA vs period does not show anything. However, for linspace, the data is plotted correctly.

image
emthompson-usgs commented 2 years ago

@bartikpandel Thanks for the report. I will look into this, but can you clarify what plots for SA you are referring to? Is it a custom plot that you make from the output of the export_metric_tables subcommand? Or are you grabbing the SA from the h5 file? This info will help me figure out where the problem is.

emthompson-usgs commented 2 years ago

Also, you sent in this question on the exact day that we transitioned from github to gitlab. We will continue to respond to issues here as long as possible, but you'll need to update your installation to use the code at the new location to get any future changes: https://code.usgs.gov/ghsc/esi/groundmotion-processing I will update the README on this repo soon to reflect this.

emthompson-usgs commented 2 years ago

Note, I've copied this issue to gitlab: https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/issues/1066

emthompson-usgs commented 2 years ago

@bartikpandel I believe that I've resolved this issue. Please install the from main on code.usgs.gov. Let me know if you have any further issues.

bartikpandel commented 1 year ago

@bartikpandel I believe that I've resolved this issue. Please install the from main on code.usgs.gov. Let me know if you have any further issues.

@emthompson-usgs Thank you so much for this, Eric. My apologies for the late response. I will update the code from gitlab. Happy Holidays!