907Resident / caldera-gases

Field research conducted between 2017 and 2019 acquired hundreds of samples of diffuse CH4 and CO2 gas emissions. This repository contains the code used for analysis of the data. The public repository for the data will be shared when available.
MIT License
0 stars 0 forks source link

Steamboat - density plot and post-back data #11

Open 907Resident opened 1 year ago

907Resident commented 1 year ago

There are two small issues with the NGBN_STMB_12Jun2019.m script:

  1. There is an issue with printing the density plot. Likely, there are too many NaN entries in the ChamON variable.
  2. Due to the fact that this set of measurements was collected from an ongoing time series, there are no "post-back" (background) data since that is actually the pre-back for the next measurement in the series. The associated code is commented out and needs to be confirmed that it can be removed

Complete this issue by:

Issue (1.)

Error using mvksdensity
X has no data after removing NaNs.

Error in ksdensity (line 226)
    [fout,xout,u,plottype] = mvksdensity(yData,xi,varargin{:});

Error in NGBN_STMB_12Jun2019_DataAnalysis (line 1031)
    [f, xi, bw_post] = ksdensity(NGBN_STMB_PostBack(:,3,i));