-
Notifications
You must be signed in to change notification settings - Fork 189
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
Bring start & end dates into layer descriptions automatically #920
Conversation
93ec828
to
f82fc54
Compare
fe04c4b
to
d81a4cc
Compare
5e353e2
to
30cb636
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
5071a98
to
0f149a7
Compare
61afa3e
to
097290e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some outlying issues with layers with weird periods, e.g. monthly sea surface salinity (SAC-D/Aquarius) P1M should end at the end of the month not on 1 May 2015, same for P7D; 5 Year Tree Cover should display 2006 - 2010.
097290e
to
2acbe31
Compare
028ca74
to
73cadeb
Compare
- Combined layer.modal, layer.info, layer.options into one layers.css file - Added classes to layer elements - Removed ID selectors in layer.css - Removed titles from info modal description area - Added start / end date values to info modal description area
06a3d5f
to
6028999
Compare
a733ff5
to
6eb4521
Compare
Description
Fixes #384, Fixes #391, Fixes #424, Fixes #945, Fixes #1033, Fixes nasa-gibs/worldview-components#49
Connects to nasa-gibs/worldview-options-eosdis#187
Feedback Fixes:
If layer.period === yearly then output just year.
If layer.period === monthly then output just month + year
Feedback Fixes (round 2):
Things to fix:
Layer end date is building wrong:
Example: Sea Surface Salinity (L3, 7-Day Snapshot, SAC-D, Aquarius)
GC Doc:
2015-06-04/2015-06-04/P4D
4 days.Issue: This branch has end_date defined as June 4th, it should be June 8th. This means the build is not adding the interval to the end_date.
Temporal Range wrong:
Example: 5 Year Tree Cover (CONUS, V1.5)
Issue: Layer says "Temporal Range: 15 April 2006 - 15 April 2006"
Should say "Temporal Range: 15 April 2006 to 17 November 2010" (i.e. account for
2006-04-15/2006-04-15/P1678D
GC)Latest end date in date range list does not say "Present"
Example: Aerosol Index
Monthly date ranges do not have year (showing date + month) in search results
Example: Carbon Monoxide (L3, Monthly, Night, Surface Mixing Ratio)
Checklist
npm run test
)Additional Information
nasa-gibs/worldview-options-eosdis#187 must be merged at the same time
@nasa-gibs/worldview