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

time step differences #35

Open
wwieder opened this issue Nov 12, 2021 · 3 comments
Open

time step differences #35

wwieder opened this issue Nov 12, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wwieder
Copy link
Collaborator

wwieder commented Nov 12, 2021

There seems to be something different with the time stamps in different datasets our data aren't aligned.  An older result of TBOT from June 2020 is on the left, newer one on the right, with their difference in the middle.  I'd suspect this has something to do with UTC vs. local time, but we'll have to figure it out before too long.  Interestingly, other fields are identical (e.g. short and long wave radiation)
image

Zooming in closer it looks like the data are offset by 12 hours, which I don't really understand.
image

It also could be a difference in the raw data being generated by the Tvan_l1 script or the output of the clean_tvan code?
Regardless, this is something else we'll need to resolve...  

@wwieder wwieder added the bug Something isn't working label Nov 12, 2021
@wwieder wwieder self-assigned this Nov 12, 2021
@wwieder
Copy link
Collaborator Author

wwieder commented Nov 12, 2021

quick look at correlations of FSDS (shortwave, which is identical in two datasets) with TBOT suggest the newer input data @katyarjay generated. Let's look at additional years of data.

the data I've been using are here
/glade/p/cgd/tss/people/wwieder/inputdata/single_point/datmdata_NWT_Tvan/moist_meadow

Katya, in a terminal window you can move to the folder where you .nc files are stored locally.
then use scp *.nc [email protected]:/glade/scratch/wwieder/inputdata_Tvan/.

  • note you'll have to make a directory called inputdata_Tvan first and replace my user name with yours.

@wwieder
Copy link
Collaborator Author

wwieder commented Nov 15, 2021

Here are few more plots of the diel cycle from selected months with the 'old' and 'new' data.

These data seem OK, but is the lead/lag with temperature and radiation OK?
image

2020 data from the old data are not right
image

The new data for 2020 seem OK, but is the lead/lag with temperature and radiation alright?
image

@katyarjay
Copy link
Contributor

Looking at the 'old' data, I only saw the mismatch shown in plot 2 above in 2019 (some months) and 2020, while earlier years did not have this issue.

I also looked at all months/years of the 'new' data I generated and found that the lead/lag between temperature and radiation occurs in almost all cases but varies in magnitude. There were some months that didn't have a lag at all, including many in 2018 (see examples below). There were also a few cases where radiation lagged slightly behind temperature at the peak.

Screen Shot 2021-11-15 at 1 26 18 PM

Screen Shot 2021-11-15 at 1 28 29 PM

Screen Shot 2021-11-15 at 1 29 53 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants