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

update date format #256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ocefpaf
Copy link
Member

@ocefpaf ocefpaf commented Mar 6, 2025

This server is still on ERDDAP 2.18 and has a non-standard date/time variable. The format change, but we are also experiencing erros when the variable and constraints are in a different order:

base = "https://opendap.co-ops.nos.noaa.gov/erddap/tabledap/IOOS_Hourly_Height_Verified_Water_Level.csv?"
works =  'WL_VALUE,time&DATUM="MSL"&BEGIN_DATE="20161004"&END_DATE="20161012"&STATION_ID="8651370"'
do_not = 'WL_VALUE,time&BEGIN_DATE="20161004"&END_DATE="20161012"&DATUM="MSL"&STATION_ID="8651370"'

Those two should be the same in ERDDAP, but here one works and the other fails with:

Error {
    code=500;
    message="Internal Server Error: ERROR from data source: org.postgresql.util.PSQLException: ERROR: Invalid time requestesd.
  Where: PL/pgSQL function inline_code_block line 1 at RAISE";
}

@ocefpaf ocefpaf mentioned this pull request Mar 6, 2025
@MathewBiddle
Copy link
Contributor

FYI @LindsayRAbrams. Curious if you know who manages https://opendap.co-ops.nos.noaa.gov/erddap/index.html?

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

Successfully merging this pull request may close these issues.

2 participants