Skip to content

Commit

Permalink
removed resource check in icesat2 fields so that default parms will work
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Oct 15, 2024
1 parent de68e99 commit f563c22
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions datasets/icesat2/package/Icesat2Fields.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,12 @@ void Icesat2Fields::fromLua (lua_State* L, int index)
{
RequestFields::fromLua(L, index);

// check resource
if(resource.value.empty())
// parse resource name
if(!resource.value.empty())
{
throw RunTimeException(CRITICAL, RTE_ERROR, "must supply resource name to process");
parseResource();
}

// parse resource name
parseResource();

// handle signal confidence options
if(atl03Cnf.providedAsSingle)
{
Expand Down

0 comments on commit f563c22

Please sign in to comment.