Opened 4 months ago

Closed 4 months ago

#2762 closed help (completed)

Converting the x-axis to the same format as the JULES suite

Reported by: pmcguire Owned by: pmcguire
Component: JULES Keywords: JULES, python, plotting, post processing, quick plot
Cc: n.m.clancy@… Platform: JASMIN
UM Version:

Description

Patrick,

I have been trying for a very long time to convert the x-axis to the same format as the JULES suite u-al752. I’ve tried using pandas but have had no success.
I cannot find the python plotting files which have the python code at all.
I’ve looked in
fluxnet_evaluation.py
make_time_coord.py
make_plots.py

but still, I do not know how they have done it???

Do you think that you could help me?

Noel

Attachments (2)

image001.png (14.5 KB) - added by pmcguire 4 months ago.
image002.png (36.9 KB) - added by pmcguire 4 months ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 4 months ago by pmcguire

  • Cc n.m.clancy@… added

comment:2 Changed 4 months ago by pmcguire

Hi Noel

In ~nmc/cylc-run/u-ba137/bin/fluxnet_evaluation.py, you can find commands related to qplt.

Those are the plotting commands.

Can I create a ticket for this help request in the NCAS/CMS system? It would be searchable by google, and could have your name attached to it.

Patrick McGuire?

comment:3 Changed 4 months ago by pmcguire

Patrick:
Yes that’s fine
Noel

comment:4 Changed 4 months ago by pmcguire

Noel:
OK thanks I will try to create the ticket soon. Did you figure out the qplt (iris.quickplot) yet?
Patrick

comment:5 Changed 4 months ago by pmcguire

  • Status changed from new to accepted

comment:6 Changed 4 months ago by pmcguire

Hi Noel

Did you figure out the quickplot stuff yet?

Patrick

Changed 4 months ago by pmcguire

Changed 4 months ago by pmcguire

comment:7 Changed 4 months ago by pmcguire

Patrick,

I’m going to try to do it a different way, but when I use ‘/qplt’ as youi say I get the following:

At start of fluxmet_evaluation.py (see image001.png)

And later in fluxmet_evaluation.py (see image002.png)

Noel

comment:8 Changed 4 months ago by pmcguire

Hi Noel
Yes, those are the quickplot plotting commands for plotting the data in the same way that Karina plots things in u-al752.
So if you want to plot things the same way, you can just do the same thing.
Patrick
P.S. I will close the ticket for now. If you need further help on this, we can reopen it.

comment:9 Changed 4 months ago by pmcguire

  • Resolution set to answered
  • Status changed from accepted to closed

comment:10 Changed 4 months ago by pmcguire

  • Resolution answered deleted
  • Status changed from closed to reopened

I have helped Noel Clancy to understand how to use Iris and quickplot in Python on CEDA JASMIN. We took the essential Iris and quickplot commands (including monthly-mean aggregation) from Karina Williams and Anna Harper's general FLUXNET suite u-al752 and added those commands to Noel's Python program.

comment:11 Changed 4 months ago by pmcguire

  • Resolution set to completed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.