Skip to content

STNFloodEventData.get_all_data missing fields #133

Description

@cefect

What happened?

Cool tool. Playing around a bit, I get different fields between get_all_data and get_filtered_data. In particular, I was hoping to get eventName out of get_all_data

What did you expect to happen?

same or more fields in get_all_data

Minimal Complete Verifiable Example

hwm_all = STNFloodEventData.get_all_data(
    "hwms", as_list=False, async_retriever_kwargs={
        "disable": False, # temporarily disable caching requests and get new responses from the server, defaults to False.
        #"max_workers": 6,
        }
)
 

hwm_all.info()

<class 'geopandas.geodataframe.GeoDataFrame'>
RangeIndex: 38634 entries, 0 to 38633
Data columns (total 33 columns):



hwm_filtered = STNFloodEventData.get_filtered_data(
    "hwms",
    crs="ESRI:102003",
    async_retriever_kwargs={"disable": False},
    query_params={"States": "SC,NC"},
)
hwm_filtered.info()


<class 'geopandas.geodataframe.GeoDataFrame'>
RangeIndex: 4513 entries, 0 to 4512
Data columns (total 54 columns):

MVCE confirmation

  • Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue.
  • Complete example — the example is self-contained, including all data and the text of any traceback.
  • New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output

Anything else we need to know?

No response

Environment

Details

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions