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

Plots #24

Merged
merged 9 commits into from
Jul 28, 2022
Prev Previous commit
Next Next commit
Added a function plot_datacube
  • Loading branch information
Tumon2001 committed Jul 20, 2022
commit d6c0544c53727aa7b2376effcafffcd1e03b5f05
2 changes: 1 addition & 1 deletion src/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function plot_datacube(datacube, coordinate_system)
xcs=[lon(c,1,b), lon(c,1,2*b), lon(c,1,3*b), lon(c,1,4*b)]
ycs=[lat(c,a,1), lat(c,2*a,1), lat(c,3*a,1), lat(c,4*a,1), lat(c,5*a,1)]

if (mod(i,12)>0)
if (mod(i,12) > 0)
s=month[Int64(mod(i,12))]*year[Int64(ceil((i+3)/12))]
else
s=month[12]*year[Int64(ceil((i+3)/12))]
Expand Down