Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SoCal daily plots to QLP/diagnostics/calibrations viewer #945

Open
rrubenza opened this issue Oct 8, 2024 · 0 comments
Open

Add SoCal daily plots to QLP/diagnostics/calibrations viewer #945

rrubenza opened this issue Oct 8, 2024 · 0 comments

Comments

@rrubenza
Copy link
Collaborator

rrubenza commented Oct 8, 2024

There are a number of useful plots I make to inspect various aspects of each day's SoCal data.

The main plots I generate:

  1. Daily RV timeseries
image
  1. Daily RV timeseries in green & red channels
image
  1. Daily pyrheliometer irradiance timeseries
    image

I currently generate these on shrek using a couple scripts. The daily steps are, at the end of a day:

  1. Generate the .csv of irradiance values by using a ktl query on kpfeng and then copy over to shrek:
    [kpfeng@kpfserver] ~/bin > python copy_pyrheliometer_for_date.py YYYYMMDD
  2. Extract the RVs from the FITS headers and store in a seperate RV
    rrubenza@shrek /data/user/rrubenza/mydrp $ python process_socal.py -s YYYYMMDD
    This second step uses functions from socal_plots.py in the same directory which contains the actual code for generating the above plots, as well as a few other utility modules I have scattered about. It also performs the clearness calculations and flags cloudy and clear observations in the output* /scr/rrubenza/socal/rvs/daily/YYYYMMDD_socal_rv.csv
    *a separate note to myself to change this directory structure to instead nest these files in year and month subdirectories rather than one flat folder called daily

The resulting plots are saved to /scr/rrubenza/socal/plots/daily_rvs/ and /scr/rrubenza/socal/plots/daily_irradiance/

It would be of interest to many to have these plots somewhere easily viewable, e.g., Jump and auto-generated each day. This issue is to discuss how best to do that. @awhoward @bjfultn @MNBrod @shalverson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant