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

FGDC Date format more restrictive than FGDC standards #146

Open
aritchie-usgs opened this issue Apr 27, 2022 · 0 comments
Open

FGDC Date format more restrictive than FGDC standards #146

aritchie-usgs opened this issue Apr 27, 2022 · 0 comments

Comments

@aritchie-usgs
Copy link

FGDC date field produces error when valid date range (free date) is entered for "Process Date"

If a user enters a range like "2015-present" or "2015 - 2017" this error is reported:

Problem with FGDC date format
An FGDC date can only consist of numbers
YYYY or YYYYMM or YYYYMMDD or 'Unknown'

This is inconsistent with the "free date" domain specified for this field in the CSDGM and described here.

Acceptable use of "present" as a component of the "free date" domain in both CSDGM and ISO 8601 is discussed specifically in this FGDC PDF on page 4, "In CSDGM, the Time Period of Content structure carries the beginning and ending date of the data, expressed using ISO 8601 Dates in the form of YYYYMMDD or YYYY-MM-DD. The word ‘present’ may also be used in lieu of an end-date for continuously collected data. "

(note that the use of "unknown", "after", "before", and "now" is also discussed there).

My specific use case for this range (YYYY-present, or YYYYMMDD-present) in the process date field is describing process steps for an ongoing data collection when writing metadata to document a data service and data collection platform.

I think I also got this error in another date field, but don't remember where. If needed I can explore further.

I still love the metadata wizard FYI, and thank you for making it.

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

No branches or pull requests

2 participants